summaryrefslogtreecommitdiff
path: root/.travis.aten.yml
blob: 61a7aefa6d3d4db17b0d0011841acc1ddc62c106 (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 .. -DNO_CUDA=1 -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