diff options
Diffstat (limited to 'other/travis/env-linux.sh')
-rw-r--r-- | other/travis/env-linux.sh | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/other/travis/env-linux.sh b/other/travis/env-linux.sh deleted file mode 100644 index 9f25e911..00000000 --- a/other/travis/env-linux.sh +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | export PATH=/opt/ghc/7.8.4/bin:/opt/cabal/1.18/bin:/opt/alex/3.1.7/bin:/opt/happy/1.19.5/bin:$PATH | ||
4 | export PATH=$HOME/.cabal/bin:$PATH | ||
5 | |||
6 | CMAKE=cmake | ||
7 | # Asan is disabled because it's currently broken on Travis. | ||
8 | # See https://github.com/travis-ci/travis-ci/issues/9033. | ||
9 | CMAKE_EXTRA_FLAGS="$CMAKE_EXTRA_FLAGS -DASAN=OFF" | ||
10 | NPROC=`nproc` | ||
11 | CURDIR=$PWD | ||
12 | RUN_TESTS=true | ||
13 | |||
14 | RUN() { | ||
15 | "$@" | ||
16 | } | ||
17 | |||
18 | TESTS() { | ||
19 | COUNT="$1"; shift | ||
20 | "$@" || { | ||
21 | if [ $COUNT -gt 1 ]; then | ||
22 | TESTS `expr $COUNT - 1` "$@" | ||
23 | else | ||
24 | false | ||
25 | fi | ||
26 | } | ||
27 | } | ||