-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy path.travis.yml
28 lines (28 loc) · 912 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
jobs:
include:
- os: linux
language: python
python: 3.7
install:
- pip install numpy
- pip install torch==1.5.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-spline-conv==latest+cpu -f https://pytorch-geometric.com/whl/torch-1.5.0.html
- pip install torch-geometric
- pip install pycodestyle
- pip install flake8
- pip install codecov
- pip install sphinx
- pip install sphinx_rtd_theme
script:
- python -c "import torch; print(torch.__version__)"
- pycodestyle --ignore=E731 .
- flake8 .
- python setup.py install
- python setup.py test
- cd docs && make clean && make html && cd ..
after_success:
- codecov
notifications:
email: false