forked from THUDM/CogDL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
30 lines (24 loc) · 899 Bytes
/
.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
language: python
python:
- "3.6"
install:
- pip install torch==1.5.0+cpu torchvision==0.6.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
- pip install torch-scatter==latest+cpu -f https://pytorch-geometric.com/whl/torch-1.5.0.html
- pip install torch-sparse==latest+cpu -f https://pytorch-geometric.com/whl/torch-1.5.0.html
- pip install torch-cluster==latest+cpu -f https://pytorch-geometric.com/whl/torch-1.5.0.html
- pip install torch-spline-conv==latest+cpu -f https://pytorch-geometric.com/whl/torch-1.5.0.html
- pip install torch-geometric
- pip install dgl==0.4.3
- pip install -e .
- pip install -r docs/requirements.txt
before_script:
- black .
- flake8 .
script:
- export DGLBACKEND=pytorch
- coverage run --source=cogdl -m pytest tests
- cd docs && make clean && make html && cd ..
after_success:
- coveralls
notifications:
email: false