forked from kanaka/mal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
95 lines (89 loc) · 4 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
sudo: required
# matrix layout based on:
# https://github.com/libressl-portable/portable/blob/9e090286b55def5ca2c0cc375c65023a70d8796e/.travis.yml
matrix:
include:
- {env: IMPL=ada, services: [docker]}
- {env: IMPL=awk, services: [docker]}
- {env: IMPL=bash, services: [docker]}
- {env: IMPL=basic, services: [docker]}
- {env: IMPL=c, services: [docker]}
- {env: IMPL=cpp, services: [docker]}
- {env: IMPL=coffee, services: [docker]}
- {env: IMPL=cs, services: [docker]}
- {env: IMPL=chuck, services: [docker]}
- {env: IMPL=clojure CLJ_MODE=clj, services: [docker]}
- {env: IMPL=clojure CLJ_MODE=cljs, services: [docker]}
- {env: IMPL=common-lisp, services: [docker]}
- {env: IMPL=crystal, services: [docker]}
- {env: IMPL=d, services: [docker]}
- {env: IMPL=dart, services: [docker]}
- {env: IMPL=elisp, services: [docker]}
- {env: IMPL=elixir, services: [docker]}
- {env: IMPL=elm, services: [docker]}
- {env: IMPL=erlang NO_PERF=1, services: [docker]} # perf runs out of memory
- {env: IMPL=es6, services: [docker]}
- {env: IMPL=factor, services: [docker]}
- {env: IMPL=forth, services: [docker]}
- {env: IMPL=fsharp, services: [docker]}
- {env: IMPL=go, services: [docker]}
- {env: IMPL=groovy, services: [docker]}
- {env: IMPL=gst, services: [docker]}
- {env: IMPL=guile, services: [docker]}
- {env: IMPL=haskell, services: [docker]}
- {env: IMPL=haxe, services: [docker]}
- {env: IMPL=io, services: [docker]}
- {env: IMPL=java, services: [docker]}
- {env: IMPL=js, services: [docker]}
- {env: IMPL=julia, services: [docker]}
- {env: IMPL=kotlin, services: [docker]}
- {env: IMPL=livescript, services: [docker]}
- {env: IMPL=logo, services: [docker]}
- {env: IMPL=lua, services: [docker]}
- {env: IMPL=make, services: [docker]}
- {env: IMPL=mal BUILD_IMPL=js NO_PERF=1, services: [docker]}
- {env: IMPL=matlab, services: [docker]} # Uses Octave
- {env: IMPL=miniMAL, services: [docker]}
- {env: IMPL=nim, services: [docker]}
- {env: IMPL=objpascal, services: [docker]}
- {env: IMPL=objc NO_DOCKER=1, os: osx, osx_image: xcode7}
- {env: IMPL=objc, services: [docker]}
- {env: IMPL=ocaml, services: [docker]}
- {env: IMPL=perl, services: [docker]}
- {env: IMPL=perl6, services: [docker]}
- {env: IMPL=php, services: [docker]}
- {env: IMPL=pil, services: [docker]}
- {env: IMPL=plpgsql, services: [docker]}
# - {env: IMPL=plsql, services: [docker]}
- {env: IMPL=ps, services: [docker]}
- {env: IMPL=powershell, services: [docker]}
- {env: IMPL=python, services: [docker]}
- {env: IMPL=r, services: [docker]}
- {env: IMPL=racket, services: [docker]}
- {env: IMPL=rexx, services: [docker]}
- {env: IMPL=rpython, services: [docker]}
- {env: IMPL=ruby, services: [docker]}
- {env: IMPL=rust, services: [docker]}
- {env: IMPL=scala, services: [docker]}
- {env: IMPL=skew, services: [docker]}
- {env: IMPL=swift NO_DOCKER=1, os: osx, osx_image: xcode7}
- {env: IMPL=swift3, services: [docker]}
- {env: IMPL=swift3 NO_DOCKER=1, os: osx, osx_image: xcode8}
- {env: IMPL=tcl, services: [docker]}
- {env: IMPL=ts, services: [docker]}
- {env: IMPL=vb, services: [docker]}
- {env: IMPL=vhdl, services: [docker]}
- {env: IMPL=vimscript, services: [docker]}
script:
# Build
- ./.travis_build.sh
# Regular tests
- ./.travis_test.sh test ${IMPL}
- cat test.err || true
# NOTE: use self-host-test branch
# Self-hosted tests
#- ./.travis_test.sh test mal ${IMPL}
#- cat test.err || true; rm -f test.err
# Performance tests
- if [ -z "${NO_PERF}" ]; then ./.travis_test.sh perf ${IMPL}; fi
- cat perf.err || true