.travis.yml: break *env* definitions into multiple lines
This commit is contained in:
parent
f966a8c432
commit
f0bc235c82
1 changed files with 56 additions and 10 deletions
64
.travis.yml
64
.travis.yml
|
@ -32,26 +32,60 @@ matrix:
|
||||||
# We grab the appropriate GHC and cabal-install versions from hvr's PPA. See:
|
# We grab the appropriate GHC and cabal-install versions from hvr's PPA. See:
|
||||||
# https://github.com/hvr/multi-ghc-travis
|
# https://github.com/hvr/multi-ghc-travis
|
||||||
# don't build benchmarks for ghc 7.10.3, because build takes too long...
|
# don't build benchmarks for ghc 7.10.3, because build takes too long...
|
||||||
- env: BUILD=cabal GHCVER=7.10.3 CABALVER=2.0 OPTS="-O0 -Wall -fno-warn-unused-do-bind -Werror" FLAGS="fast embed_data_files" CABALARGS="" TESTPATTERN="! /Round trip/"
|
- env: >-
|
||||||
|
BUILD=cabal
|
||||||
|
GHCVER=7.10.3
|
||||||
|
CABALVER=2.0
|
||||||
|
OPTS="-O0 -Wall -fno-warn-unused-do-bind -Werror"
|
||||||
|
FLAGS="fast embed_data_files"
|
||||||
|
CABALARGS=""
|
||||||
|
TESTPATTERN="! /Round trip/"
|
||||||
compiler: ": #GHC 7.10.3"
|
compiler: ": #GHC 7.10.3"
|
||||||
addons: {apt: {packages: [cabal-install-2.0,ghc-7.10.3,happy-1.19.5], sources: [hvr-ghc]}}
|
addons: {apt: {packages: [cabal-install-2.0,ghc-7.10.3,happy-1.19.5], sources: [hvr-ghc]}}
|
||||||
|
|
||||||
# don't build benchmarks for ghc 8.0.2, because build takes too long...
|
# don't build benchmarks for ghc 8.0.2, because build takes too long...
|
||||||
- env: BUILD=cabal GHCVER=8.0.2 CABALVER=2.0 OPTS="-O0 -Wall -Wincomplete-record-updates -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances -fno-warn-unused-do-bind -Werror" FLAGS="fast" CABALARGS="" TESTPATTERN="! /Round trip/"
|
- env: >-
|
||||||
|
BUILD=cabal
|
||||||
|
GHCVER=8.0.2
|
||||||
|
CABALVER=2.0
|
||||||
|
OPTS="-O0 -Wall -Wincomplete-record-updates -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances -fno-warn-unused-do-bind -Werror"
|
||||||
|
FLAGS="fast"
|
||||||
|
CABALARGS=""
|
||||||
|
TESTPATTERN="! /Round trip/"
|
||||||
compiler: ": #GHC 8.0.2"
|
compiler: ": #GHC 8.0.2"
|
||||||
addons: {apt: {packages: [cabal-install-2.0,ghc-8.0.2,happy-1.19.5], sources: [hvr-ghc]}}
|
addons: {apt: {packages: [cabal-install-2.0,ghc-8.0.2,happy-1.19.5], sources: [hvr-ghc]}}
|
||||||
|
|
||||||
- env: BUILD=cabal GHCVER=8.2.2 CABALVER=2.0 OPTS="-O0 -Wall -Wincomplete-record-updates -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances -fno-warn-unused-do-bind -Werror" FLAGS="fast embed_data_files" CABALARGS="--enable-benchmarks" TESTPATTERN="! /Round trip/"
|
- env: >-
|
||||||
|
BUILD=cabal
|
||||||
|
GHCVER=8.2.2
|
||||||
|
CABALVER=2.0
|
||||||
|
OPTS="-O0 -Wall -Wincomplete-record-updates -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances -fno-warn-unused-do-bind -Werror"
|
||||||
|
FLAGS="fast embed_data_files"
|
||||||
|
CABALARGS="--enable-benchmarks"
|
||||||
|
TESTPATTERN="! /Round trip/"
|
||||||
compiler: ": #GHC 8.2.2"
|
compiler: ": #GHC 8.2.2"
|
||||||
addons: {apt: {packages: [cabal-install-2.0,ghc-8.2.2,happy-1.19.5], sources: [hvr-ghc]}}
|
addons: {apt: {packages: [cabal-install-2.0,ghc-8.2.2,happy-1.19.5], sources: [hvr-ghc]}}
|
||||||
|
|
||||||
- env: BUILD=cabal GHCVER=8.4.3 CABALVER=2.2 OPTS="-O0 -Wall -fno-warn-unused-do-bind -Wincomplete-record-updates -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances -Wincomplete-uni-patterns -Werror=missing-home-modules -Widentities -Wcpp-undef -Werror" FLAGS="fast embed_data_files" CABALARGS="--enable-benchmarks" TESTPATTERN="! /Round trip/"
|
- env: >-
|
||||||
|
BUILD=cabal
|
||||||
|
GHCVER=8.4.3
|
||||||
|
CABALVER=2.2
|
||||||
|
OPTS="-O0 -Wall -fno-warn-unused-do-bind -Wincomplete-record-updates -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances -Wincomplete-uni-patterns -Werror=missing-home-modules -Widentities -Wcpp-undef -Werror"
|
||||||
|
FLAGS="fast embed_data_files"
|
||||||
|
CABALARGS="--enable-benchmarks"
|
||||||
|
TESTPATTERN="! /Round trip/"
|
||||||
compiler: ": #GHC 8.4.3"
|
compiler: ": #GHC 8.4.3"
|
||||||
addons: {apt: {packages: [cabal-install-2.2,ghc-8.4.3,happy-1.19.5], sources: [hvr-ghc]}}
|
addons: {apt: {packages: [cabal-install-2.2,ghc-8.4.3,happy-1.19.5], sources: [hvr-ghc]}}
|
||||||
|
|
||||||
# - env: BUILD=cabal GHCVER=8.6.1 CABALVER=2.4 OPTS="-O0 -Wall -fno-warn-unused-do-bind -Wincomplete-record-updates -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances -Wincomplete-uni-patterns -Werror=missing-home-modules -Widentities -Wcpp-undef -Werror" FLAGS="fast embed_data_files" CABALARGS="--enable-benchmarks --allow-newer=haddock-library:base" TESTPATTERN="! /Round trip/"
|
# - env: >-
|
||||||
|
# BUILD=cabal
|
||||||
|
# GHCVER=8.6.1
|
||||||
|
# CABALVER=2.4
|
||||||
|
# OPTS="-O0 -Wall -fno-warn-unused-do-bind -Wincomplete-record-updates -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances -Wincomplete-uni-patterns -Werror=missing-home-modules -Widentities -Wcpp-undef -Werror"
|
||||||
|
# FLAGS="fast embed_data_files"
|
||||||
|
# CABALARGS="--enable-benchmarks --allow-newer=haddock-library:base"
|
||||||
|
# TESTPATTERN="! /Round trip/"
|
||||||
# compiler: ": #GHC 8.6.1"
|
# compiler: ": #GHC 8.6.1"
|
||||||
# addons: {apt: {packages: [cabal-install-2.4,ghc-8.6.1,happy-1.19.5], sources: [hvr-ghc]}}
|
|
||||||
|
|
||||||
# Build with the newest GHC and cabal-install. This is an accepted failure,
|
# Build with the newest GHC and cabal-install. This is an accepted failure,
|
||||||
# see below.
|
# see below.
|
||||||
|
@ -65,12 +99,20 @@ matrix:
|
||||||
# compiler: ": #stack 8.0.2"
|
# compiler: ": #stack 8.0.2"
|
||||||
# addons: {apt: {packages: [ghc-8.0.2], sources: [hvr-ghc]}}
|
# addons: {apt: {packages: [ghc-8.0.2], sources: [hvr-ghc]}}
|
||||||
|
|
||||||
- env: BUILD=stack ARGS="--resolver lts-12" OPTS="-O0 -Wall -fno-warn-unused-do-bind -Wincomplete-record-updates -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances -Wincomplete-uni-patterns -Werror=missing-home-modules -Widentities -Wcpp-undef -Werror" TESTPATTERN="! /Round trip/"
|
- env: >-
|
||||||
|
BUILD=stack
|
||||||
|
ARGS="--resolver lts-12"
|
||||||
|
OPTS="-O0 -Wall -fno-warn-unused-do-bind -Wincomplete-record-updates -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances -Wincomplete-uni-patterns -Werror=missing-home-modules -Widentities -Wcpp-undef -Werror"
|
||||||
|
TESTPATTERN="! /Round trip/"
|
||||||
compiler: ": #stack 8.4.3"
|
compiler: ": #stack 8.4.3"
|
||||||
addons: {apt: {packages: [ghc-8.4.3], sources: [hvr-ghc]}}
|
addons: {apt: {packages: [ghc-8.4.3], sources: [hvr-ghc]}}
|
||||||
|
|
||||||
# Nightly builds are allowed to fail
|
# Nightly builds are allowed to fail
|
||||||
- env: BUILD=stack ARGS="--resolver nightly" OPTS="-O0 -Wall -fno-warn-unused-do-bind -Wincomplete-record-updates -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances -Wincomplete-uni-patterns -Werror=missing-home-modules -Widentities -Wcpp-undef -Werror" TESTPATTERN="."
|
- env: >-
|
||||||
|
BUILD=stack
|
||||||
|
ARGS="--resolver nightly"
|
||||||
|
OPTS="-O0 -Wall -fno-warn-unused-do-bind -Wincomplete-record-updates -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances -Wincomplete-uni-patterns -Werror=missing-home-modules -Widentities -Wcpp-undef -Werror"
|
||||||
|
TESTPATTERN="."
|
||||||
compiler: ": #stack nightly"
|
compiler: ": #stack nightly"
|
||||||
addons: {apt: {packages: [ghc-8.4.3], sources: [hvr-ghc]}}
|
addons: {apt: {packages: [ghc-8.4.3], sources: [hvr-ghc]}}
|
||||||
|
|
||||||
|
@ -84,7 +126,11 @@ matrix:
|
||||||
|
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- env: BUILD=cabal GHCVER=head CABALVER=head
|
- env: BUILD=cabal GHCVER=head CABALVER=head
|
||||||
- env: BUILD=stack ARGS="--resolver nightly" OPTS="-O0 -Wall -fno-warn-unused-do-bind -Wincomplete-record-updates -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances -Wincomplete-uni-patterns -Werror=missing-home-modules -Widentities -Wcpp-undef -Werror" TESTPATTERN="."
|
- env: >-
|
||||||
|
BUILD=stack
|
||||||
|
ARGS="--resolver nightly"
|
||||||
|
OPTS="-O0 -Wall -fno-warn-unused-do-bind -Wincomplete-record-updates -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances -Wincomplete-uni-patterns -Werror=missing-home-modules -Widentities -Wcpp-undef -Werror"
|
||||||
|
TESTPATTERN="."
|
||||||
|
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue