"vscode:/vscode.git/clone" did not exist on "7bc134d7c12768634a99ea75dfdc2780822ef9e0"
.travis.yml 718 Bytes
Newer Older
rusty1s's avatar
rusty1s committed
1
2
3
4
5
6
7
language: python
sudo: required
dist: trusty
matrix:
  include:
    - python: 3.5
    - python: 3.6
rusty1s's avatar
rusty1s committed
8
9
10
11
12
13
14
15
16
17
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
18
install:
rusty1s's avatar
rusty1s committed
19
  - pip install numpy
rusty1s's avatar
rusty1s committed
20
  - pip install --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
rusty1s's avatar
rusty1s committed
21
22
23
  - pip install pycodestyle
  - pip install flake8
  - pip install codecov
rusty1s's avatar
rusty1s committed
24
  - pip install torch-scatter
rusty1s's avatar
rusty1s committed
25
script:
rusty1s's avatar
rusty1s committed
26
  - python -c "import torch; print(torch.__version__)"
rusty1s's avatar
rusty1s committed
27
28
  - pycodestyle .
  - flake8 .
rusty1s's avatar
rusty1s committed
29
30
31
32
33
34
  - python setup.py install
  - python setup.py test
after_success:
  - codecov
notifications:
  email: false