.travis.yml 734 Bytes
Newer Older
rusty1s's avatar
rusty1s committed
1
jobs:
rusty1s's avatar
rusty1s committed
2
  include:
rusty1s's avatar
rusty1s committed
3
4
5
6
7
8
9
10
11
12
13
14
15
    - os: linux
      language: python
      python: 3.7
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
          packages:
            - gcc-5
            - g++-5
      env:
        - CC=gcc-5
        - CXX=g++-5
rusty1s's avatar
rusty1s committed
16
install:
rusty1s's avatar
rusty1s committed
17
  - pip install numpy
rusty1s's avatar
rusty1s committed
18
  - pip install --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
rusty1s's avatar
rusty1s committed
19
20
21
  - pip install pycodestyle
  - pip install flake8
  - pip install codecov
rusty1s's avatar
rusty1s committed
22
  - pip install torch-scatter
rusty1s's avatar
rusty1s committed
23
script:
rusty1s's avatar
rusty1s committed
24
  - python -c "import torch; print(torch.__version__)"
rusty1s's avatar
rusty1s committed
25
  - pycodestyle --ignore=E731,W504 .
rusty1s's avatar
rusty1s committed
26
  - flake8 .
rusty1s's avatar
rusty1s committed
27
28
29
30
31
32
  - python setup.py install
  - python setup.py test
after_success:
  - codecov
notifications:
  email: false