about summary refs log tree commit diff stats
path: root/.travis.yml
blob: e6e42ecf72698971d4654e5ec69793dc242725a6 (plain) (blame)
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
32
33
34
35
36
37
38
39
40
41
sudo: required
dist: trusty
language: cpp

addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
    packages:
      - valgrind
      - libstdc++-5-dev  # default version is not valgrind-clean

# test_layers takes a long time; divide up the work into multiple jobs on the
# matrix so we don't time out on Travis
matrix:
  include:
    - env: COMMAND=./test_layers CXX=clang++ START=000 END=040
    - env: COMMAND=./test_layers CXX=clang++ START=040 END=055
    - env: COMMAND=./test_layers CXX=clang++ START=055 END=065
    - env: COMMAND=./test_layers CXX=clang++ START=065 END=070
    - env: COMMAND=./test_layers CXX=clang++ START=070 END=075
    - env: COMMAND=./test_layers CXX=clang++ START=075 END=080
    - env: COMMAND=./test_layers CXX=clang++ START=080 END=085
    - env: COMMAND=./test_layers CXX=clang++ START=085 END=090
    - env: COMMAND=./test_layers CXX=clang++ START=090 END=095
    - env: COMMAND=./test_layers CXX=clang++ START=095 END=999  # overflow; will start timing out if we add too many layers
    - env: COMMAND=./test_layers CXX=clang++ START=chessboard
    - env: COMMAND=./test_layers CXX=clang++ START=edit
    - env: COMMAND=./test_layers CXX=clang++ START=edit2
    - env: COMMAND=./test_layers CXX=clang++ START=edit3
    - env: COMMAND=./test_layers CXX=clang++ START=edit4
    - env: COMMAND=./test_layers CXX=g++ START=one-off  # minimal testing for gcc
    - env: COMMAND=./subx/test_layers START= END=

script:
  - $COMMAND $START $END

notifications:
  email:
    on_success: never
    on_failure: always