forked from pyg-team/pytorch_geometric
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (34 loc) · 1.35 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
language: shell
os:
- linux
- windows
env:
jobs:
- TORCH_VERSION=1.6.0 TORCHVISION_VERSION=0.7.0 PYTHON_VERSION=3.6 IDX=cpu
- TORCH_VERSION=1.7.0 TORCHVISION_VERSION=0.8.1 PYTHON_VERSION=3.6 IDX=cpu
install:
- source script/conda.sh
- conda create --yes -n test python="${PYTHON_VERSION}"
- source activate test
- conda install pytorch==${TORCH_VERSION} torchvision==${TORCHVISION_VERSION} ${TOOLKIT} -c pytorch --yes
- pip install torch-scatter -f https://pytorch-geometric.com/whl/torch-${TORCH_VERSION}+${IDX}.html
- pip install torch-sparse -f https://pytorch-geometric.com/whl/torch-${TORCH_VERSION}+${IDX}.html
- pip install torch-cluster -f https://pytorch-geometric.com/whl/torch-${TORCH_VERSION}+${IDX}.html
- pip install torch-spline-conv -f https://pytorch-geometric.com/whl/torch-${TORCH_VERSION}+${IDX}.html
- pip install cython
- pip install llvmlite
- git clone https://github.com/the-virtual-brain/tvb-geodesic /tmp/gdist
- cd /tmp/gdist && python setup.py install && cd -
- pip install scikit-image
- pip install trimesh
- pip install flake8 codecov
- pip install sphinx sphinx_rtd_theme
- python setup.py install
script:
- flake8 .
- python setup.py test
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then cd docs && make clean && make html && cd ..; fi
after_success:
- codecov
notifications:
email: false