Skip to content

Commit fae0dab

Browse files
committed
update travis
1 parent 45ffecd commit fae0dab

File tree

1 file changed

+19
-17
lines changed

1 file changed

+19
-17
lines changed

.travis.yml

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,27 @@
1-
language: python
2-
31
jobs:
42
include:
53
- os: linux
4+
language: python
65
python: 3.7
7-
before_install:
8-
- export CC=gcc-5
9-
- export CXX=g++-5
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
1016
- os: osx
11-
osx_image: xcode10.2
12-
before_install:
13-
- export MACOSX_DEPLOYMENT_TARGET=10.9
14-
- export CC=clang
15-
- export CXX=clang++
16-
addons:
17-
apt:
18-
sources:
19-
- ubuntu-toolchain-r-test
20-
packages:
21-
- gcc-5
22-
- g++-5
17+
language: sh
18+
addons:
19+
homebrew:
20+
packages: python3
21+
env:
22+
- MACOSX_DEPLOYMENT_TARGET=10.9
23+
- CC=clang
24+
- CXX=clang++
2325
install:
2426
- pip install numpy
2527
- pip install --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html

0 commit comments

Comments
 (0)