https://github.com/thudm/cogdl
Raw File
Tip revision: c897d79bbaf8f4aa92eb9e0f47f7c0a2e1756c47 authored by Yukuo Cen on 12 January 2021, 12:06:39 UTC
[Release] New v0.2.0 release (#163)
Tip revision: c897d79
.travis.yml
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
  - pip install -r docs/requirements.txt
  - pip install -e .

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
back to top