pytorch-dnc/.travis.yml

17 lines
575 B
YAML
Raw Normal View History

2017-10-30 00:32:31 +08:00
language: python
python:
- "3.6"
# command to install dependencies
2017-12-01 00:50:14 +08:00
before_install:
- sudo apt-get -qq update
2017-12-01 23:13:44 +08:00
- sudo apt-get install -yqq software-properties-common git
- sudo apt-get install -yqq libopenblas-dev liblapack3 python3-numpy python3-dev swig
2017-12-01 01:21:47 +08:00
- sudo ln -s /usr/lib/libopenblas.so /usr/lib/libopenblas.so.3
2017-10-30 00:32:31 +08:00
install:
2019-04-05 16:15:02 +08:00
- pip install -qqq https://download.pytorch.org/whl/cu100/torch-1.0.1.post2-cp36-cp36m-linux_x86_64.whl
- pip install -qqq numpy
- pip install -qqq visdom
2017-12-11 02:51:30 +08:00
- pip install -qqq pyflann3
2017-10-30 00:32:31 +08:00
# command to run tests
script:
2017-11-30 03:14:26 +08:00
- pytest ./test