summaryrefslogtreecommitdiff
path: root/.travis.aten.yml
blob: 0e9d8022aaec4a7f8bb473038a230bee196f67aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# https://travis-ci.org/zdevito/ATen
language: python
python:
    - 2.7
    - 3.6

dist: trusty

before_install:
    - sudo apt-get install -qq valgrind

install:
    - travis_retry pip install pyyaml typing

script:
    - cd aten
    - mkdir build install
    - cd build
    - cmake .. -DUSE_CUDA=OFF -DCMAKE_INSTALL_PREFIX=../install
    - make install
    - ../tools/run_tests.sh .
    - cd ..
    - tools/test_install.sh $(pwd)/install $(pwd)

matrix:
    fast_finish: true
    include:
        env: LINT_CHECK
        python: "2.7"
        install: pip install flake8
        script: flake8