more stuff for travis

This commit is contained in:
Jay Lee
2019-04-12 07:02:31 -04:00
parent d20a0d8455
commit a63ac294db

View File

@ -1,5 +1,6 @@
language: python
dist: precise
osx_image: xcode9.2
python:
- "2.7"
@ -7,10 +8,21 @@ python:
os:
- linux
- osx
- windows
before_install:
- pip install pyinstaller
- pyinstaller src/gam.py
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then GAMOS="linux" ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then GAMOS="macos" ; fi
install: pip install --upgrade pip
install:
- pyinstaller --clean -F --distpath=gam src/$GAMOS-gam.spec
- cp src/LICENSE src/gam
- cp src/whatsnew.txt src/gam
- cp src/GamCommands.txt src/gam
- tar cfJ gam-$TRAVIS_BUILd_NUMBER-$GAMOS.tar.xz src/gam/
script: src/dist/gam version
deploy:
provider: release
skip_cleanup: true
file: gam-$TRAVIS_BUILd_NUMBER-$GAMOS.tar.xz