16 lines
446 B
YAML
16 lines
446 B
YAML
language: python
|
|
python:
|
|
- "3.6"
|
|
# command to install dependencies
|
|
before_install:
|
|
- sudo apt-get -qq update
|
|
- sudo apt-get install libopenblas-dev
|
|
- sudo ln -s /usr/lib/libopenblas.so /usr/lib/libopenblas.so.3
|
|
install:
|
|
- pip install http://download.pytorch.org/whl/cu75/torch-0.2.0.post3-cp36-cp36m-manylinux1_x86_64.whl
|
|
- pip install numpy
|
|
- pip install visdom
|
|
# command to run tests
|
|
script:
|
|
- pip install -e .
|
|
- pytest ./test |