-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (42 loc) · 1.41 KB
/
.travis.yml
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
language: c
sudo: required
env:
global:
- RACKET_DIR=~/racket
TBENCHES="bench/tutorial.fpcore bench/hamming/"
HERBIE_SEED="#(2749829514 1059579101 312104142 915324965 966790849 1349306526)"
TSEED="racket $TRAVIS_BUILD_DIR/infra/travis.rkt --seed '${HERBIE_SEED}' $TBENCHES"
TRAND="racket $TRAVIS_BUILD_DIR/infra/travis.rkt $TBENCHES"
UTEST="raco test src"
matrix:
# separate builds for travis benches and unit tests
- RACKET_VERSION="6.7"
JOB="${TSEED}"
- RACKET_VERSION="6.9"
JOB="${TSEED}"
- RACKET_VERSION="6.11"
JOB="${TSEED}"
- RACKET_VERSION="6.7"
JOB="${UTEST}"
- RACKET_VERSION="6.9"
JOB="${UTEST}"
- RACKET_VERSION="6.11"
JOB="${UTEST}"
# remember to change the `allow_failures` key below!
- RACKET_VERSION="6.11"
JOB="${TRAND}"
matrix:
allow_failures:
- env: RACKET_VERSION="6.11"
JOB="${TRAND}"
before_install:
- git clone https://github.com/greghendershott/travis-racket.git ../travis-racket
- cat ../travis-racket/install-racket.sh | bash
- export PATH="${RACKET_DIR}/bin:${PATH}"
install:
- raco pkg install --auto $TRAVIS_BUILD_DIR/src
script:
- echo ${JOB} && eval ${JOB}
notifications:
slack:
secure: QB8ib/gxZWZ8rY9H54BktIgx8LfjdqabSAkmWip0VHlUhrh2ULG566XgmB5h75eNzCil2cw76ma5wfSC0MNIQ1iDHKCxAgTE0+gcPcZAYGfucQ28sKGBG2wcuJfvBLG6lVDxj+luGUh3XohouTLYI9cg509JBgTgpcrXVexYAaE=