diff --git a/.travis.yml b/.travis.yml index 0cf432341..557a19fb1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -63,7 +63,7 @@ matrix: group: beta sudo: false env: - - RUN_FLAKE=1 BUILD_PKG=1 + - RUN_FLAKE=1 BUILD_PKG=linux-package language: python python: "3.6" addons: @@ -85,7 +85,7 @@ matrix: - os: osx language: generic - env: USE_BREW=1 BUILD_PKG=1 + env: USE_BREW=1 BUILD_PKG=osx-bundle env: global: @@ -145,4 +145,4 @@ script: - if grep -Inr '\s$' kitty kitty_tests kittens docs *.py *.asciidoc *.rst .gitattributes .gitignore; then echo Trailing whitespace found, aborting.; exit 1; fi - if [[ -z $SANITIZE_ARG ]]; then $PYTHON test.py; else ./asan-launcher test.py; fi - if [[ "$RUN_FLAKE" == "1" ]]; then flake8 --count .; fi - - if [[ "$BUILD_PKG" == "1" ]]; then $PYTHON setup.py linux-package; fi + - if [[ ! -z "$BUILD_PKG" ]]; then $PYTHON setup.py $BUILD_PKG; fi