Skip to content

Commit

Permalink
travis: Switch to cabal-install-1.22
Browse files Browse the repository at this point in the history
  • Loading branch information
erikd committed Aug 5, 2015
1 parent a076e0d commit 31f4a3e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ env:
# - GHCVER=7.6.2
- GHCVER=7.6.3
- GHCVER=7.8.4
- GHCVER=7.10.1
- GHCVER=7.10.2
# - GHCVER=head

matrix:
Expand All @@ -26,18 +26,18 @@ matrix:
before_install:
- sudo add-apt-repository -y ppa:hvr/ghc
- sudo apt-get update
- sudo apt-get install cabal-install-1.18 ghc-$GHCVER
- sudo apt-get install cabal-install-1.22 ghc-$GHCVER
- export PATH=/opt/ghc/$GHCVER/bin:$PATH

install:
- cabal-1.18 update
- cabal-1.18 install --only-dependencies --enable-tests
- cabal-1.22 update
- cabal-1.22 install --only-dependencies --enable-tests

script:
- cabal-1.18 configure --enable-tests
- cabal-1.18 build
- cabal-1.22 configure --enable-tests
- cabal-1.22 build
- dist/build/testsuite/testsuite
- cabal-1.18 haddock
- cabal-1.18 sdist
- cabal-1.22 haddock
- cabal-1.22 sdist


0 comments on commit 31f4a3e

Please sign in to comment.