forked from benedekrozemberczki/pytorch_geometric_temporal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
33 lines (29 loc) · 1.08 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
language: shell
os:
- linux
env:
jobs:
- TORCH_VERSION=1.6.0 PYTHON_VERSION=3.7 IDX=cpu
install:
- source script/conda.sh
- conda create --yes -n test python="${PYTHON_VERSION}"
- source activate test
- pip install torch==${TORCH_VERSION}+${IDX} torchvision==0.6.1+cpu -f https://download.pytorch.org/whl/torch_stable.html
- pip install torch-scatter==latest+${IDX} -f https://pytorch-geometric.com/whl/torch-${TORCH_VERSION}.html
- pip install torch-sparse==latest+${IDX} -f https://pytorch-geometric.com/whl/torch-${TORCH_VERSION}.html
- pip install torch-cluster==latest+${IDX} -f https://pytorch-geometric.com/whl/torch-${TORCH_VERSION}.html
- pip install torch-spline-conv==latest+${IDX} -f https://pytorch-geometric.com/whl/torch-${TORCH_VERSION}.html
- pip install torch-geometric
- pip install codecov
- pip install sphinx sphinx_rtd_theme
- pip install .[test]
- python setup.py install
script:
- python setup.py test
after_success:
- codecov
notifications:
recipients:
on_success: always
on_failure: always