Build osx-bundle not linux-package on Travis on macOS

This commit is contained in:
Kovid Goyal 2018-06-03 09:41:02 +05:30
parent 29734563b4
commit 1c1b04b1d9
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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