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