Skip to content

Commit b65a1c8

Browse files
committed
Add travis builds.
1 parent 37853b3 commit b65a1c8

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

.travis.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,30 +37,38 @@ matrix:
3737
compiler: ": #GHC 8.2.2"
3838
addons: {apt: {packages: [cabal-install-2.0,ghc-8.2.2,happy-1.19.5,alex-3.1.7], sources: [hvr-ghc]}}
3939

40+
- env: BUILD=cabal GHCVER=8.4.1 CABALVER=2.0 HAPPYVER=1.19.5 ALEXVER=3.1.7
41+
compiler: ": #GHC 8.4.1"
42+
addons: {apt: {packages: [cabal-install-2.0,ghc-8.4.1,happy-1.19.5,alex-3.1.7], sources: [hvr-ghc]}}
43+
4044
# Build with the newest GHC and cabal-install. This is an accepted failure,
4145
# see below.
4246
- env: BUILD=cabal GHCVER=head CABALVER=head HAPPYVER=1.19.5 ALEXVER=3.1.7
4347
compiler: ": #GHC HEAD"
4448
addons: {apt: {packages: [cabal-install-head,ghc-head,happy-1.19.5,alex-3.1.7], sources: [hvr-ghc]}}
4549

50+
# The Stack LTS builds.
51+
4652
# Build using the configuration specified in the stack.yaml file in the
4753
# current directory.
4854
- env: BUILD=stack ARGS=""
4955
compiler: ": #stack default"
5056
addons: {apt: {packages: [libgmp-dev]}}
5157

52-
# The Stack LTS builds.
53-
# (There are currently none because as of 2018-02-27,
54-
# servant-checked-exceptions depends on servant >= 0.12, but the latest lts
55-
# release only uses servant-0.11).
58+
- env: BUILD=stack ARGS="--resolver lts-11"
59+
compiler: ": #stack 8.2.2"
60+
addons: {apt: {packages: [libgmp-dev]}}
61+
5662

5763
# Nightly builds are allowed to fail
5864
- env: BUILD=stack ARGS="--resolver nightly"
5965
compiler: ": #stack nightly"
6066
addons: {apt: {packages: [libgmp-dev]}}
6167

6268
# Build on OS X with Stack in addition to Linux.
63-
# (There are currently no builds for the same reason as above.)
69+
- env: BUILD=stack ARGS="--resolver lts-11"
70+
compiler: ": #stack 8.2.2 osx"
71+
os: osx
6472

6573
- env: BUILD=stack ARGS="--resolver nightly"
6674
compiler: ": #stack nightly osx"

0 commit comments

Comments
 (0)