about summary refs log tree commit diff stats
path: root/.travis.yml
blob: fcfb3c0d5e96319f1a91b8de345bfc1f2aa4f417 (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
42
43
44
45
46
47
48
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:
    # primary prototype
    - env: COMMAND=./subx/test_layers
    - env: COMMAND=./subx/test_apps
    # other directories
    - 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
    # other build scripts
    - env: COMMAND=./test_layers BUILD=build0 START=one-off
    - env: COMMAND=./test_layers BUILD=build1 START=one-off
    - env: COMMAND=./test_layers BUILD=build2 START=one-off

script:
  - $COMMAND $START $END

notifications:
  email:
    on_success: never
    on_failure: always