forked from Quid2/flat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
37 lines (31 loc) · 1.81 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
sudo: required
language: c
services:
- docker
matrix:
include:
# FAIL Compiles library, compiles tests (if doc is commented out) but does not pass all tests (FloatCast issue)
#- env: IMG=quid2/eta CMD="etlas --version;etlas update;etlas build --enable-tests;etlas test"
# ghcjs OK SETUP VERSION BEFORE RUNNING
#- env: VER=0.4.3 IMG=quid2/ghcjs-8.4.0.1 CMD='cabal --ghcjs new-build --enable-tests;node dist-newstyle/build/x86_64-linux/ghcjs-8.4.0.1/flat-0.4.3/t/doc-static/build/doc-static/doc-static.jsexe/all.js;node dist-newstyle/build/x86_64-linux/ghcjs-8.4.0.1/flat-0.4.3/t/spec/build/spec/spec.jsexe/all.js'
# # cabal OK
#- env: IMG=quid2/x32-ubuntu-cabal CMD="cabal v2-update;cabal v2-build --only-dependencies --enable-tests;cabal v2-build;cabal v2-test"
# # ghc 7.10.3 OK
#- env: IMG=quid2/x64-ubuntu-stack-lts-6.35 CMD="stack test --no-terminal --stack-yaml stack-6.35.yaml"
# # #ghc 8.0.2 OK
#- env: IMG=quid2/x64-ubuntu-stack-lts-9.21 CMD="stack test --no-terminal --stack-yaml stack-9.21.yaml"
# # #ghc 8.2.2 OK
#- env: IMG=quid2/x64-ubuntu-stack-lts-11.22 CMD="stack test --no-terminal --resolver lts-11.22"
# # # ghc 8.4.4 OK
#- env: IMG=quid2/x64-ubuntu-stack-lts-12.26 CMD="stack test --no-terminal --resolver lts-12.26"
# # # ghc 8.6.5 OK
#- env: IMG=quid2/x64-ubuntu-stack-lts-14.27 CMD="stack test --no-terminal --resolver lts-14.27"
# # # ghc 8.8.3 (OK, but slow in running some tests)
# - env: IMG=quid2/x64-ubuntu-stack-lts-15.11 CMD="stack test --no-terminal --resolver lts-15.11"
# TO TEST
- env: IMG=fpco/stack-build:lts-19.5 CMD="stack test --no-terminal --resolver lts-19.5"
before_install:
- PKG=${PWD##*/}
- docker pull $IMG
script:
- docker run -it $IMG bash -c "rm -r $PKG;git clone https://github.com/Quid2/$PKG;cd $PKG;$CMD"