-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
53 lines (49 loc) · 2.34 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
43
44
45
46
47
48
49
50
51
52
53
language: c
sudo: false
env:
global:
# RACKET_DIR is an argument to install-racket.sh
- RACKET_DIR=~/racket
- PATH="$RACKET_DIR/bin:$PATH"
matrix:
# RACKET_VERSION is an argument to install-racket.sh
- RACKET_VERSION=6.0 COV=false
- RACKET_VERSION=6.1 COV=false
- RACKET_VERSION=6.1.1 COV=false
- RACKET_VERSION=6.2 COV=false
- RACKET_VERSION=6.3 COV=false
- RACKET_VERSION=6.4 COV=false
- RACKET_VERSION=6.5 COV=false
- RACKET_VERSION=6.6 COV=false
- RACKET_VERSION=6.7 COV=false
- RACKET_VERSION=6.8 COV=false
- RACKET_VERSION=6.9 COV=true
- RACKET_VERSION=6.10 COV=true
- RACKET_VERSION=6.10.1 COV=true
- RACKET_VERSION=6.11 COV=true
- RACKET_VERSION=6.12 COV=true
- RACKET_VERSION=7.0 COV=true
- RACKET_VERSION=7.1 COV=true
- RACKET_VERSION=7.2 COV=true
- RACKET_VERSION=7.3 COV=true
- RACKET_VERSION=7.4 COV=true
- RACKET_VERSION=7.5 COV=true
- RACKET_VERSION=7.6 COV=true
- RACKET_VERSION=7.7 COV=true
- RACKET_VERSION=7.8 COV=true
- RACKET_VERSION=7.9 COV=true
- RACKET_VERSION=8.0 COV=true
- RACKET_VERSION=8.0 RACKET_CS=1 COV=true
- RACKET_VERSION=HEAD COV=true
before_install:
- curl -L https://raw.githubusercontent.com/greghendershott/travis-racket/master/install-racket.sh | bash
- if $COV; then raco pkg install --deps search-auto doc-coverage cover cover-codecov; fi # or cover-coveralls
install:
- raco pkg install --deps search-auto -j 2
script:
- raco test -r -p "$(basename "$TRAVIS_BUILD_DIR")"
- if $COV; then raco setup --check-pkg-deps --no-zo --no-launcher --no-install --no-post-install --no-docs --pkgs "$(basename "$TRAVIS_BUILD_DIR")"; fi
- if $COV; then raco doc-coverage "$(basename "$TRAVIS_BUILD_DIR")"; fi
- if $COV; then raco cover -s main -s test -s doc -f codecov -f html -d ~/coverage . || true; fi
# TODO: add an option to cover to run the "outer" module too, not just the submodules.
# TODO: deploy the coverage info.