File tree 1 file changed +39
-0
lines changed
1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ matrix :
2
+ include :
3
+ - os : linux
4
+ dist : trusty
5
+ language : python
6
+ python : " 3.5"
7
+ - os : osx
8
+ osx_image : xcode8.3
9
+ language : generic
10
+
11
+ # install boost on linux only (already here on osx)
12
+ addons :
13
+ apt :
14
+ packages :
15
+ - libboost-program-options-dev
16
+
17
+ # install python3 on osx
18
+ before_install :
19
+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install python3; fi
20
+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then virtualenv venv --python=python3; fi
21
+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then source venv/bin/activate; fi
22
+
23
+ install :
24
+ - pip install --upgrade pip
25
+ - pip install pandas numpy>=1.13 cython pytest h5py h5features
26
+ - pip install http://download.pytorch.org/whl/cu75/torch-0.2.0.post3-cp35-cp35m-manylinux1_x86_64.whl
27
+ - pip install torchvision
28
+ - python setup.py build
29
+ - python setup.py install
30
+
31
+ script :
32
+ - pytest ./test
33
+
34
+ cache :
35
+ - pip
36
+
37
+ notifications :
38
+ email : false
39
+
You can’t perform that action at this time.
0 commit comments