Skip to content

Commit 9404507

Browse files
committed
Use cabal-install-1.20. Allow failures in head.
1 parent 952466e commit 9404507

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.travis.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,28 @@ env:
66
- GHCVER=7.8.3
77
- GHCVER=head
88

9+
matrix:
10+
allow_failures:
11+
- env: GHCVER=head
12+
913
before_install:
1014
- sudo add-apt-repository -y ppa:hvr/ghc
1115
- sudo apt-get update -qq
12-
- sudo apt-get install -qq cabal-install-1.18 ghc-$GHCVER
16+
- sudo apt-get install -qq cabal-install-1.20 ghc-$GHCVER
1317
- export PATH="/opt/ghc/$GHCVER/bin:$PATH"
1418

1519
install:
16-
- cabal-1.18 update
20+
- cabal-1.20 update
1721
- ghc --version
1822
- ghc-pkg list
1923
- pushd ..
2024
- git clone --depth=100 --quiet https://github.com/haskell-opengl/OpenGLRaw.git
2125
- cd OpenGLRaw
22-
- cabal-1.18 install --enable-documentation
26+
- cabal-1.20 install --enable-documentation
2327
- popd
2428
- ghc-pkg list
2529

2630
script:
27-
- cabal-1.18 install --enable-documentation
28-
- cabal-1.18 sdist --verbose=3
31+
- cabal-1.20 install --enable-documentation
32+
- cabal-1.20 sdist
2933
- ghc-pkg list

0 commit comments

Comments
 (0)