use a matrix for OSes

This commit is contained in:
Jay Lee
2019-04-12 08:50:18 -04:00
parent 7a9899f747
commit 8b47748df9

View File

@@ -1,18 +1,21 @@
language: python language: python
dist: precise matrix:
osx_image: xcode10.1 include:
- os: linux
python: dist: precise
- "2.7.15" python:
- "2.7.15"
os: env: GAMOS=linux
- linux - os: osx
- osx osx_image: xcode9.2
env: GAMOS=macos
addons:
homebrew:
packages:
python@2
before_install: before_install:
- pip install pyinstaller - pip install pyinstaller
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then GAMOS="linux" ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then GAMOS="macos" ; fi
install: install:
- cd src - cd src