forked from erikd/http-proxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
43 lines (35 loc) · 872 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# language: haskell
# See http://www.reddit.com/r/haskell/comments/1os3f6/how_to_use_travisci_with_multiple_ghc_versions/
env:
# - GHCVER=6.12.3
# - GHCVER=7.0.1
# - GHCVER=7.0.2
# - GHCVER=7.0.3
# - GHCVER=7.0.4
# - GHCVER=7.2.1
# - GHCVER=7.2.2
# - GHCVER=7.4.1
# - GHCVER=7.4.2
# - GHCVER=7.6.1
# - GHCVER=7.6.2
- GHCVER=7.6.3
- GHCVER=7.8.4
- GHCVER=7.10.3
- GHCVER=8.0.1
matrix:
allow_failures:
- env: GHCVER=7.10.1
before_install:
- sudo add-apt-repository -y ppa:hvr/ghc
- sudo apt-get update
- sudo apt-get install cabal-install-1.24 ghc-$GHCVER
- export PATH=/opt/cabal/bin:/opt/ghc/$GHCVER/bin:$PATH
install:
- cabal-1.24 update
- cabal-1.24 install --only-dependencies --enable-tests
script:
- cabal-1.24 configure --enable-tests
- cabal-1.24 build
- dist/build/testsuite/testsuite
- cabal-1.24 haddock
- cabal-1.24 sdist