Skip to content

Commit de0745b

Browse files
committed
update osx image
1 parent fdce4f5 commit de0745b

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

.travis.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,24 @@ language: python
33
jobs:
44
include:
55
- os: linux
6-
python: 3.6
6+
python: 3.7
7+
before_install:
8+
- export CC=gcc-5
9+
- export CXX=g++-5
710
- os: osx
8-
python: 3.6
11+
osx_image: xcode10.2
12+
python: 3.7
13+
before_install:
14+
- export MACOSX_DEPLOYMENT_TARGET=10.9
15+
- export CC=clang
16+
- export CXX=clang++
917
addons:
1018
apt:
1119
sources:
1220
- ubuntu-toolchain-r-test
1321
packages:
1422
- gcc-5
1523
- g++-5
16-
before_install:
17-
- if [ "TRAVIS_OS_NAME" = "linux"]; then export CC=gcc-5; fi
18-
- if [ "TRAVIS_OS_NAME" = "linux"]; then export CXX=g++-5; fi
19-
- if [ "TRAVIS_OS_NAME" = "osx"]; then export MACOSX_DEPLOYMENT_TARGET=10.9; fi
20-
- if [ "TRAVIS_OS_NAME" = "osx"]; then export CC=clang; fi
21-
- if [ "TRAVIS_OS_NAME" = "osx"]; then export CXX=clang++; fi
2224
install:
2325
- pip install numpy
2426
- pip install --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html

0 commit comments

Comments
 (0)