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
dist: precise
osx_image: xcode10.1
python:
- "2.7.15"
os:
- linux
- osx
matrix:
include:
- os: linux
dist: precise
python:
- "2.7.15"
env: GAMOS=linux
- os: osx
osx_image: xcode9.2
env: GAMOS=macos
addons:
homebrew:
packages:
python@2
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