"tools/vscode:/vscode.git/clone" did not exist on "51fb672d8f361a1a329e21207c0a625a1758ed5e"
.travis.yml 946 Bytes
Newer Older
rusty1s's avatar
rusty1s committed
1
2
3
4
5
6
7
8
language: python
sudo: required
dist: trusty
matrix:
  include:
    - python: 2.7
    - python: 3.5
    - python: 3.6
rusty1s's avatar
rusty1s committed
9
10
11
12
13
14
15
16
17
18
addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
    packages:
      - gcc-4.9
      - g++-4.9
before_install:
  - export CC="gcc-4.9"
  - export CXX="g++-4.9"
rusty1s's avatar
rusty1s committed
19
install:
rusty1s's avatar
0.4.1  
rusty1s committed
20
  - if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then pip install http://download.pytorch.org/whl/cpu/torch-0.4.1-cp27-cp27mu-linux_x86_64.whl; fi
rusty1s's avatar
typo  
rusty1s committed
21
  - if [[ $TRAVIS_PYTHON_VERSION == 3.5 ]]; then pip install http://download.pytorch.org/whl/cpu/torch-0.4.1-cp35-cp35m-linux_x86_64.whl; fi
rusty1s's avatar
0.4.1  
rusty1s committed
22
  - if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]]; then pip install http://download.pytorch.org/whl/cpu/torch-0.4.1-cp36-cp36m-linux_x86_64.whl; fi
rusty1s's avatar
rusty1s committed
23
24
25
26
27
28
29
30
31
32
33
34
  - pip install pycodestyle
  - pip install flake8
  - pip install codecov
script:
  - pycodestyle .
  - flake8 .
  - python setup.py install
  - python setup.py test
after_success:
  - codecov
notifications:
  email: false