forked from pyg-team/pytorch_geometric
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (35 loc) · 1.4 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
38
language: shell
os:
- linux
- windows
env:
jobs:
- TORCH_VERSION=1.8.0 TORCHVISION_VERSION=0.9.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 -c conda-forge --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
- 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==3.4.3 sphinx_rtd_theme
- pip install pandas==1.1.5
- pip install h5py==3.1.0
- 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