mirror of
https://github.com/GAM-team/GAM.git
synced 2025-07-10 06:33:34 +00:00
more stuff for travis
This commit is contained in:
18
.travis.yml
18
.travis.yml
@ -1,5 +1,6 @@
|
|||||||
language: python
|
language: python
|
||||||
dist: precise
|
dist: precise
|
||||||
|
osx_image: xcode9.2
|
||||||
|
|
||||||
python:
|
python:
|
||||||
- "2.7"
|
- "2.7"
|
||||||
@ -7,10 +8,21 @@ python:
|
|||||||
os:
|
os:
|
||||||
- linux
|
- linux
|
||||||
- osx
|
- osx
|
||||||
- windows
|
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- pip install pyinstaller
|
- 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
|
||||||
|
Reference in New Issue
Block a user