pytorch-dnc/.travis.yml
2017-12-01 20:53:06 +05:30

16 lines
533 B
YAML

language: python
python:
- "3.6"
# command to install dependencies
before_install:
- sudo apt-get -qq update
- sudo apt-get install -yqq software-properties-common git
- sudo apt-get install -yqq libopenblas-dev liblapack3 python3-numpy python3-dev swig
- sudo ln -s /usr/lib/libopenblas.so /usr/lib/libopenblas.so.3
install:
- pip install http://download.pytorch.org/whl/cu80/torch-0.2.0.post3-cp36-cp36m-manylinux1_x86_64.whl
- pip install numpy
- pip install visdom
# command to run tests
script:
- pytest ./test