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