File tree Expand file tree Collapse file tree 1 file changed +32
-16
lines changed Expand file tree Collapse file tree 1 file changed +32
-16
lines changed Original file line number Diff line number Diff line change 1- language : python
2- sudo : required
3- dist : trusty
4- matrix :
1+ jobs :
52 include :
6- - python : 3.5
7- - python : 3.6
8- addons :
9- apt :
10- sources :
11- - ubuntu-toolchain-r-test
12- packages :
13- - gcc-4.9
14- - g++-4.9
15- before_install :
16- - export CC="gcc-4.9"
17- - export CXX="g++-4.9"
3+ - os : linux
4+ language : python
5+ python : 3.7
6+ addons :
7+ apt :
8+ sources :
9+ - ubuntu-toolchain-r-test
10+ packages :
11+ - gcc-5
12+ - g++-5
13+ env :
14+ - CC=gcc-5
15+ - CXX=g++-5
16+ - os : osx
17+ language : sh
18+ before_cache :
19+ - brew cleanup
20+ cache :
21+ directories :
22+ - $HOME/Library/Caches/Homebrew
23+ - /usr/local/Homebrew
24+ addons :
25+ homebrew :
26+ packages : python3
27+ before_install :
28+ - python3 -m pip install --upgrade virtualenv
29+ - virtualenv -p python3 --system-site-packages "$HOME/venv"
30+ - source "$HOME/venv/bin/activate"
31+ env :
32+ - CC=clang
33+ - CXX=clang++
1834install :
1935 - pip install numpy
2036 - 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