-
Notifications
You must be signed in to change notification settings - Fork 313
/
Copy path.travis.yml
34 lines (28 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
33
34
language: python
python:
- "3.6"
install:
- pip install https://download.pytorch.org/whl/cpu/torch-1.6.0%2Bcpu-cp36-cp36m-linux_x86_64.whl
- pip install https://pytorch-geometric.com/whl/torch-1.6.0+cpu/torch_scatter-2.0.5-cp36-cp36m-linux_x86_64.whl
- pip install https://pytorch-geometric.com/whl/torch-1.6.0+cpu/torch_sparse-0.6.8-cp36-cp36m-linux_x86_64.whl
- pip install https://pytorch-geometric.com/whl/torch-1.6.0+cpu/torch_cluster-1.5.8-cp36-cp36m-linux_x86_64.whl
- pip install https://pytorch-geometric.com/whl/torch-1.6.0+cpu/torch_spline_conv-1.2.0-cp36-cp36m-linux_x86_64.whl
- pip install torch-geometric
- pip install dgl==0.4.3
- bash ./scripts/installation/metis.sh
- source ./scripts/installation/gcc.sh
- pip install metis
- pip install -r docs/requirements.txt
- pip install -e .
before_script:
- black .
- flake8 .
script:
- export DGLBACKEND=pytorch
- export METIS_DLL=~/.local/lib/libmetis.so
- coverage run --source=cogdl -m pytest tests
- cd docs && make clean && make html && cd ..
after_success:
- coveralls
notifications:
email: false