liyujie
2025-08-28 786ff4f4ca2374bdd9177f2e24b503d43e7a3b93
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash
 
set -e
set -x
 
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
    source .venv/bin/activate
fi
 
tox
 
# re-run all the XML-related tests, this time without lxml but using the
# built-in ElementTree library.
if [ -z "$TOXENV" ]; then
    TOXENV="py-nolxml"
else
    # strip additional tox envs after the comma, add -nolxml factor
    TOXENV="${TOXENV%,*}-nolxml"
fi
tox -e $TOXENV -- Tests/ufoLib Tests/misc/etree_test.py Tests/misc/plistlib_test.py