Skip to content

Commit d055da7

Browse files
committed
CI: use Miniconda3 and Python 3.7 for travis build
Save resources and only test scons build with Python 2.7 on Linux.
1 parent b750bb5 commit d055da7

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.travis.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,14 @@ os:
88

99
env:
1010
- MYUSEMC=true MYPYTHON_VERSION=2.7
11-
- MYUSEMC=true MYPYTHON_VERSION=3.5
12-
- MYUSEMC=true MYPYTHON_VERSION=3.6
11+
- MYUSEMC=true MYPYTHON_VERSION=3.7
1312
- MYUSEMC=false
1413

14+
matrix:
15+
exclude:
16+
- os: osx
17+
env: MYUSEMC=true MYPYTHON_VERSION=2.7
18+
1519
git:
1620
depth: 999999
1721

@@ -40,9 +44,9 @@ before_install:
4044
- MYMCREPO=https://repo.continuum.io/miniconda
4145
- case ${TRAVIS_OS_NAME} in
4246
linux)
43-
MYMCBUNDLE=Miniconda2-latest-Linux-x86_64.sh ;;
47+
MYMCBUNDLE=Miniconda3-latest-Linux-x86_64.sh ;;
4448
osx)
45-
MYMCBUNDLE=Miniconda2-latest-MacOSX-x86_64.sh ;;
49+
MYMCBUNDLE=Miniconda3-latest-MacOSX-x86_64.sh ;;
4650
*)
4751
echo "Unsupported operating system." >&2;
4852
exit 2 ;;

0 commit comments

Comments
 (0)