forked from THUDM/CogDL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (25 loc) · 864 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
31
language: python
python:
- "3.7"
install:
- pip install https://download.pytorch.org/whl/cpu/torch-1.7.1%2Bcpu-cp37-cp37m-linux_x86_64.whl
- pip install https://pytorch-geometric.com/whl/torch-1.7.0+cpu/torch_scatter-2.0.7-cp37-cp37m-linux_x86_64.whl
- pip install https://pytorch-geometric.com/whl/torch-1.7.0+cpu/torch_sparse-0.6.9-cp37-cp37m-linux_x86_64.whl
- pip install packaging==20.9
- pip install setuptools==60.9.0
- 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 cogdl
- flake8 cogdl
script:
- 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