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