File tree Expand file tree Collapse file tree 1 file changed +13
-9
lines changed
Expand file tree Collapse file tree 1 file changed +13
-9
lines changed Original file line number Diff line number Diff line change 11language : python
2- sudo : required
3- dist : trusty
4- matrix :
2+
3+ jobs :
54 include :
6- - python : 3.5
7- - python : 3.6
5+ - os : linux
6+ python : 3.7
7+ - os : osx
8+ python : 3.7
89addons :
910 apt :
1011 sources :
1112 - ubuntu-toolchain-r-test
1213 packages :
13- - gcc-4.9
14- - g++-4.9
14+ - gcc-5
15+ - g++-5
1516before_install :
16- - export CC="gcc-4.9"
17- - export CXX="g++-4.9"
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
1822install :
1923 - pip install numpy
2024 - pip install --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
You can’t perform that action at this time.
0 commit comments