.travis.yml 867 Bytes
Newer Older
rusty1s's avatar
rusty1s committed
1
2
3
4
5
6
7
8
9
10
11
12
language: python
sudo: required
dist: trusty
matrix:
  include:
    - python: 2.7
    - python: 3.5
    - python: 3.6
install:
  - if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then pip install --quiet http://download.pytorch.org/whl/cu80/torch-0.3.0.post4-cp27-cp27mu-linux_x86_64.whl; fi
  - if [[ $TRAVIS_PYTHON_VERSION == 3.5 ]]; then pip install --quiet http://download.pytorch.org/whl/cu80/torch-0.3.0.post4-cp35-cp35m-linux_x86_64.whl; fi
  - if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]]; then pip install --quiet http://download.pytorch.org/whl/cu80/torch-0.3.0.post4-cp36-cp36m-linux_x86_64.whl; fi
rusty1s's avatar
rusty1s committed
13
14
  - pip install pycodestyle
  - pip install flake8
rusty1s's avatar
rusty1s committed
15
  - pip install cffi
rusty1s's avatar
rusty1s committed
16
  - pip install codecov
rusty1s's avatar
rusty1s committed
17
  - pip install pytest pytest-cov
rusty1s's avatar
rusty1s committed
18
19
20
21
script:
  - pycodestyle .
  - flake8 .
  - python setup.py install
rusty1s's avatar
rusty1s committed
22
  - pytest --cov
rusty1s's avatar
rusty1s committed
23
24
after_success:
  - codecov
rusty1s's avatar
rusty1s committed
25
26
notifications:
  email: false