Skip to content

Commit

Permalink
Add GHC 8.0.1 and cabal-install 1.24
Browse files Browse the repository at this point in the history
* Use legacy Travis-CI build environment (not the newer container build
environment)
* Update testing with 7.10.2 to 7.10.3
  • Loading branch information
spl committed Jul 12, 2016
1 parent a3e4ace commit 52b5700
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 15 deletions.
15 changes: 6 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# See https://github.com/hvr/multi-ghc-travis for more information

# Explicitly request legacy build environment
sudo: required

env:
# Use CABALVER=1.16 for GHCVER<7.6, as there is no package for earlier cabal
# versions in the PPA.
Expand All @@ -8,7 +11,8 @@ env:
- GHCVER=7.4.2 CABALVER=1.16
- GHCVER=7.6.3 CABALVER=1.16
- GHCVER=7.8.4 CABALVER=1.18
- GHCVER=7.10.2 CABALVER=1.22
- GHCVER=7.10.3 CABALVER=1.22
- GHCVER=8.0.1 CABALVER=1.24
- GHCVER=head CABALVER=head

matrix:
Expand All @@ -33,11 +37,4 @@ script:
- cabal test
- cabal check
- cabal sdist
- export SRC_TGZ=$(cabal info . | awk '{print $2 ".tar.gz";exit}');
cd dist/;
if [ -f "$SRC_TGZ" ]; then
cabal install "$SRC_TGZ";
else
echo "expected '$SRC_TGZ' not found";
exit 1;
fi
- cabal install --force-reinstalls dist/*-*.tar.gz
13 changes: 7 additions & 6 deletions dlist.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@ extra-source-files: README.md,
ChangeLog.md
build-type: Simple
cabal-version: >= 1.9.2
tested-with: GHC==7.0.4,
GHC==7.2.2,
GHC==7.4.2,
GHC==7.6.3,
GHC==7.8.4,
GHC==7.10.2
tested-with: GHC==7.0.4
GHC==7.2.2
GHC==7.4.2
GHC==7.6.3
GHC==7.8.4
GHC==7.10.3
GHC==8.0.1

source-repository head
type: git
Expand Down

0 comments on commit 52b5700

Please sign in to comment.