File tree 1 file changed +14
-11
lines changed
1 file changed +14
-11
lines changed Original file line number Diff line number Diff line change 1
1
env :
2
- - GHCVER=7.0.4
3
- - GHCVER=7.2.2
4
- - GHCVER=7.4.2
5
- - GHCVER=7.6.3
6
- - GHCVER=7.8.3
7
- - GHCVER=head
2
+ global :
3
+ - CABALVER=1.20
4
+ matrix :
5
+ - GHCVER=7.0.4
6
+ - GHCVER=7.2.2
7
+ - GHCVER=7.4.2
8
+ - GHCVER=7.6.3
9
+ - GHCVER=7.8.3
10
+ - GHCVER=head
8
11
9
12
matrix :
10
13
allow_failures :
@@ -13,21 +16,21 @@ matrix:
13
16
before_install :
14
17
- sudo add-apt-repository -y ppa:hvr/ghc
15
18
- sudo apt-get update -qq
16
- - sudo apt-get install -qq cabal-install-1.20 ghc-$GHCVER
19
+ - sudo apt-get install -qq cabal-install-$CABALVER ghc-$GHCVER
17
20
- export PATH="/opt/ghc/$GHCVER/bin:$PATH"
18
21
19
22
install :
20
- - cabal-1.20 update
23
+ - cabal-$CABALVER update
21
24
- ghc --version
22
25
- ghc-pkg list
23
26
- pushd ..
24
27
- git clone --depth=100 --quiet https://github.com/haskell-opengl/OpenGLRaw.git
25
28
- cd OpenGLRaw
26
- - cabal-1.20 install --enable-documentation
29
+ - cabal-$CABALVER install --enable-documentation
27
30
- popd
28
31
- ghc-pkg list
29
32
30
33
script :
31
- - cabal-1.20 install --enable-documentation
32
- - cabal-1.20 sdist
34
+ - cabal-$CABALVER install --enable-documentation
35
+ - cabal-$CABALVER sdist
33
36
- ghc-pkg list
You can’t perform that action at this time.
0 commit comments