Skip to content

Commit

Permalink
[BEAM-1769] Travis should run all tox tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Sourabh Bajaj authored and aaltay committed Mar 21, 2017
1 parent 0895ec1 commit aa716b4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ before_install:
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then jdk_switcher use "$CUSTOM_JDK"; fi
- export BEAM_SUREFIRE_ARGLINE="-Xmx512m"
# Python SDK environment settings.
- export TOX_ENV=py27
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then export TOX_HOME=$HOME/Library/Python/2.7/bin; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then export TOX_HOME=$HOME/.local/bin; fi

Expand All @@ -80,7 +79,7 @@ install:
- rm -rf "$HOME/.m2/repository/org/apache/beam"

script:
- if [ "$TEST_PYTHON" ]; then travis_retry $TOX_HOME/tox -e $TOX_ENV -c sdks/python/tox.ini; fi
- if [ "$TEST_PYTHON" ]; then travis_retry $TOX_HOME/tox -c sdks/python/tox.ini; fi
- if [ ! "$TEST_PYTHON" ]; then travis_retry mvn --batch-mode --update-snapshots --no-snapshot-updates --threads 1C $MAVEN_OVERRIDE install && travis_retry bash -ex .travis/test_wordcount.sh; fi

cache:
Expand Down

0 comments on commit aa716b4

Please sign in to comment.