Skip to content

Commit 26d4848

Browse files
Travis: test with GHC 7.4 and 7.6
1 parent 654cf2f commit 26d4848

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.travis.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1-
language: haskell
1+
env:
2+
- GHCVER=7.4.2
3+
- GHCVER=7.6.3
24
install: /bin/true
35
script: ./ci-test

ci-test

+8-1
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,17 @@
22

33
set -e
44

5+
sudo add-apt-repository -y ppa:hvr/ghc
6+
sudo apt-get update
7+
sudo apt-get install cabal-install-1.18 ghc-$GHCVER happy
8+
export PATH=$HOME/.cabal/bin:/opt/ghc/$GHCVER/bin:$PATH
9+
10+
cabal-1.18 update
11+
512
for i in core hunit quickcheck smallcheck core-tests
613
do
714
cd $i
8-
cabal install
15+
cabal-1.18 install
916
cd ..
1017
done
1118

0 commit comments

Comments
 (0)