Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (34 sloc) 946 Bytes
language: python
sudo: required
dist: trusty
matrix:
include:
- python: 3.5
- python: 3.6
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.9
- g++-4.9
before_install:
- export CC="gcc-4.9"
- export CXX="g++-4.9"
install:
- if [[ $TRAVIS_PYTHON_VERSION == 3.5 ]]; then pip install https://download.pytorch.org/whl/cpu/torch-1.0.0-cp35-cp35m-linux_x86_64.whl; fi
- if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]]; then pip install https://download.pytorch.org/whl/cpu/torch-1.0.0-cp36-cp36m-linux_x86_64.whl; fi
- pip install pycodestyle
- pip install flake8
- pip install torch-scatter torch-sparse torch-cluster torch-spline-conv
- pip install codecov
script:
- pycodestyle .
- flake8 .
- python setup.py install
- python setup.py test
- cd docs && pip install -r requirements.txt && make clean && make html && cd ..
after_success:
- codecov
notifications:
email: false
You can’t perform that action at this time.