From 8b47748df96fcfd376a020221074ccabae796e1f Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Fri, 12 Apr 2019 08:50:18 -0400 Subject: [PATCH] use a matrix for OSes --- .travis.yml | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index d3c3220b..9c836eed 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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