-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
executable file
·35 lines (32 loc) · 1 KB
/
.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
32
33
34
35
language: shell
os:
- linux
- osx
- windows
env:
jobs:
- TORCH_VERSION=1.4.0 PYTHON_VERSION=3.7 IDX=cpu
install:
- source script/conda.sh
- conda create --yes -n test python="${PYTHON_VERSION}"
- source activate test
- conda install pytorch=${TORCH_VERSION} torchvision ${TOOLKIT} -c pytorch --yes
- pip install torch-scatter==latest+${IDX} -f https://pytorch-geometric.com/whl/torch-${TORCH_VERSION}.html
- pip install torch-sparse==latest+${IDX} -f https://pytorch-geometric.com/whl/torch-${TORCH_VERSION}.html
- pip install torch-cluster
- pip install torch-spline-conv
- pip install cython
- git clone https://github.com/the-virtual-brain/tvb-geodesic /tmp/gdist
- cd /tmp/gdist && python setup.py install && cd -
- pip install trimesh
- pip install flake8 codecov
- pip install sphinx sphinx_rtd_theme
- python setup.py install
script:
- flake8 .
- python setup.py test
- cd docs && make clean && make html && cd ..
after_success:
- codecov
notifications:
email: false