mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-28 01:41:36 +00:00
30 lines
576 B
YAML
30 lines
576 B
YAML
language: python
|
|
dist: precise
|
|
osx_image: xcode9.2
|
|
|
|
python:
|
|
- "2.7"
|
|
|
|
os:
|
|
- linux
|
|
- osx
|
|
|
|
before_install:
|
|
- pip install pyinstaller
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then GAMOS="linux" ; fi
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then GAMOS="macos" ; fi
|
|
|
|
install:
|
|
- cd src
|
|
- pyinstaller --clean -F --distpath=gam $GAMOS-gam.spec
|
|
- cp LICENSE gam
|
|
- cp whatsnew.txt gam
|
|
- cp GamCommands.txt gam
|
|
- tar cfJ gam-$TRAVIS_BUILd_NUMBER-$GAMOS.tar.xz gam/
|
|
|
|
script: dist/gam version
|
|
deploy:
|
|
provider: release
|
|
skip_cleanup: true
|
|
file: gam-$TRAVIS_BUILd_NUMBER-$GAMOS.tar.xz
|