Skip to content

Commit

Permalink
Update the build matrix and formalize the ghc version support policy
Browse files Browse the repository at this point in the history
  • Loading branch information
UnkindPartition committed Jan 31, 2020
1 parent 76bca53 commit 0ddf01b
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 25 deletions.
32 changes: 11 additions & 21 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,36 +33,26 @@ cache:
# addons: {apt: {packages: [libfcgi-dev,libgmp-dev]}}
matrix:
include:
- env: BUILD=cabal GHCVER=7.4.2 CABALVER=1.16 HAPPYVER=1.19.5 ALEXVER=3.1.7
compiler: ": #GHC 7.4.2"
addons: {apt: {packages: [cabal-install-1.16,ghc-7.4.2], sources: [hvr-ghc]}}
- env: BUILD=cabal GHCVER=7.6.3 CABALVER=1.16 HAPPYVER=1.19.5 ALEXVER=3.1.7
compiler: ": #GHC 7.6.3"
addons: {apt: {packages: [cabal-install-1.16,ghc-7.6.3], sources: [hvr-ghc]}}
- env: BUILD=cabal GHCVER=7.8.4 CABALVER=1.18 HAPPYVER=1.19.5 ALEXVER=3.1.7
compiler: ": #GHC 7.8.4"
addons: {apt: {packages: [cabal-install-1.18,ghc-7.8.4], sources: [hvr-ghc]}}
- env: BUILD=cabal GHCVER=7.10.3 CABALVER=1.22 HAPPYVER=1.19.5 ALEXVER=3.1.7
compiler: ": #GHC 7.10.3"
addons: {apt: {packages: [cabal-install-1.22,ghc-7.10.3], sources: [hvr-ghc]}}
- env: BUILD=cabal GHCVER=8.0.2 CABALVER=1.24 HAPPYVER=1.19.5 ALEXVER=3.1.7
- env: BUILD=cabal GHCVER=8.0.2 CABALVER=1.24
compiler: ": #GHC 8.0.2"
addons: {apt: {packages: [cabal-install-1.24,ghc-8.0.2], sources: [hvr-ghc]}}
- env: BUILD=cabal GHCVER=8.2.2 CABALVER=1.24 HAPPYVER=1.19.5 ALEXVER=3.1.7
- env: BUILD=cabal GHCVER=8.2.2 CABALVER=1.24
compiler: ": #GHC 8.2.2"
addons: {apt: {packages: [cabal-install-1.24,ghc-8.2.2], sources: [hvr-ghc]}}
- env: BUILD=cabal GHCVER=8.4.2 CABALVER=1.24 HAPPYVER=1.19.5 ALEXVER=3.1.7
- env: BUILD=cabal GHCVER=8.4.2 CABALVER=1.24
compiler: ": #GHC 8.4.2"
addons: {apt: {packages: [cabal-install-1.24,ghc-8.4.2], sources: [hvr-ghc]}}
- env: BUILD=cabal GHCVER=8.6.1 CABALVER=1.24
compiler: ": #GHC 8.6.1"
addons: {apt: {packages: [cabal-install-1.24,ghc-8.6.1], sources: [hvr-ghc]}}
- env: BUILD=cabal GHCVER=8.8.1 CABALVER=1.24
compiler: ": #GHC 8.8.1"
addons: {apt: {packages: [cabal-install-1.24,ghc-8.8.1], sources: [hvr-ghc]}}

## Build with the newest GHC and cabal-install. This is an accepted failure,
## see below.
- env: BUILD=cabal GHCVER=head CABALVER=head HAPPYVER=1.19.5 ALEXVER=3.1.7
compiler: ": #GHC HEAD"
addons: {apt: {packages: [cabal-install-head,ghc-head], sources: [hvr-ghc]}}

- env: BUILD=stack ARGS="--resolver nightly-2019-01-30" WARNINGS=true
compiler: ": #stack 8.6.3"
- env: BUILD=stack ARGS="--resolver nightly-2020-01-30" WARNINGS=true
compiler: ": #stack 8.8.2"
addons: {apt: {packages: [libgmp-dev]}}

allow_failures:
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -808,6 +808,10 @@ something not mentioned here, send a pull request!
[awk-patterns-article]: https://ro-che.info/articles/2018-01-08-tasty-new-patterns
[tasty-directories]: https://nmattia.com/posts/2018-04-30-tasty-test-names.html

## GHC version support policy

We only support the GHC/base versions [from the last 3 years](https://wiki.haskell.org/Base_package#Versions).

Maintainers
-----------

Expand Down
6 changes: 2 additions & 4 deletions stack.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
resolver: nightly-2019-01-30
resolver: nightly-2020-01-30
packages:
- core/
- hunit/
- quickcheck/
- smallcheck/
- core-tests/
extra-deps:
- wcwidth-0.0.2
- ansi-terminal-0.9
extra-deps: []
flags: {}

0 comments on commit 0ddf01b

Please sign in to comment.