forked from snoyberg/conduit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
45 lines (38 loc) · 1.01 KB
/
.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
42
43
44
45
sudo: false
cache:
directories:
- $HOME/.ghc
- $HOME/.cabal
addons:
apt:
sources:
- hvr-ghc
packages:
- cabal-install-1.22
- ghc-7.4.2
- ghc-7.6.3
- ghc-7.8.4
- ghc-7.10.1
- ghc-7.10.2
env:
global:
- CABALVER=1.22
- PACKAGE_LIST="./resourcet ./conduit ./network-conduit-tls ./conduit-extra ./cereal-conduit"
matrix:
- GHCVER=7.4.2
- GHCVER=7.6.3
- GHCVER=7.8.4
- GHCVER=7.10.1
- GHCVER=7.10.2
matrix:
allow_failures:
# Seems like Travis doesn't reliably have this yet
- env: GHCVER=7.10.2
before_install:
- export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$HOME/.cabal/bin:$PATH
install:
- cabal --version
- echo "$(ghc --version) [$(ghc --print-project-git-commit-id 2> /dev/null || echo '?')]"
- travis_retry cabal update
script:
- cabal install --run-tests --enable-benchmarks --force-reinstalls $PACKAGE_LIST --reorder-goals --max-backjumps=-1