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:
|
2017-12-01 22:18:39 +08:00
|
|
|
- pip install http://download.pytorch.org/whl/cu80/torch-0.2.0.post3-cp36-cp36m-manylinux1_x86_64.whl
|
2017-10-30 00:32:31 +08:00
|
|
|
- pip install numpy
|
|
|
|
- pip install visdom
|
|
|
|
# command to run tests
|
|
|
|
script:
|
2017-11-30 03:14:26 +08:00
|
|
|
- pytest ./test
|