forked from Quid2/flat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (29 loc) · 1.32 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
sudo: required
language: c
services:
- docker
matrix:
include:
##- env: IMG=quid2/eta CMD="etlas update;etlas build;etlas test :spec"
##- env: IMG=quid2/x64-ubuntu-ghcjs CMD="stack test --stack-yaml stack-ghcjs.yaml"
##- env: IMG=quid2/x64-ubuntu-ghcjs-9.21 CMD="stack test --stack-yaml stack-ghcjs-9.21.yaml"
##- env: IMG=quid2/x32-ubuntu-cabal CMD="cabal v2-build --only-dependencies --enable-tests;cabal v2-build;cabal v2-test"
# ghc 7.10.3
# - env: IMG=quid2/x64-ubuntu-stack-lts-6.35 CMD="stack test --resolver lts-6.35"
# ghc 8.0.2
# - env: IMG=quid2/x64-ubuntu-stack-lts-9.21 CMD="stack test --resolver lts-9.21"
# ghc 8.2.2
#- env: IMG=quid2/x64-ubuntu-stack-lts-11.22 CMD="stack test --resolver lts-11.22"
# ghc 8.4.4
#- env: IMG=quid2/x64-ubuntu-stack-lts-12.26 CMD="stack test --resolver lts-12.26"
# ghc 8.6.4
# - env: IMG=quid2/x64-ubuntu-stack-lts-13.22 CMD="stack test --resolver lts-13.22"
# ghc 8.6.5
#- env: IMG=quid2/x64-ubuntu-stack-lts-14.7 CMD="stack test --resolver lts-14.7"
# ghc 8.8.1
- env: IMG=quid2/x64-ubuntu-stack-nightly-2019-10-07 CMD="stack test --resolver nightly-2019-10-07"
before_install:
- PKG=${PWD##*/}
- docker pull $IMG
script:
- docker run -it $IMG bash -c "git clone https://github.com/Quid2/$PKG;cd $PKG;$CMD"