on wai-extra/3.0.4.5 help sign in
typeable/wai/.travis.yml
38 lines 1.6 kB history raw
1# NB: don't set `language: haskell` here
3# The following enables several GHC versions to be tested; often it's enough to test only against the last release in a major GHC version. Feel free to omit lines listings versions you don't need/want testing for.
4env:
5 - CABALVER=1.16 GHCVER=7.4.1
6 - CABALVER=1.16 GHCVER=7.4.2
7 - CABALVER=1.16 GHCVER=7.6.1
8 - CABALVER=1.16 GHCVER=7.6.2
9 - CABALVER=1.18 GHCVER=7.6.3
10 - CABALVER=1.18 GHCVER=7.8.1 # see note about Alex/Happy for GHC >= 7.8
11 - CABALVER=1.18 GHCVER=7.8.2
12 - CABALVER=1.18 GHCVER=7.8.3
13 - CABALVER=1.18 GHCVER=7.8.4
14 - CABALVER=1.22 GHCVER=7.10.1
15 - CABALVER=head GHCVER=head # see section about GHC HEAD snapshots
17# Note: the distinction between `before_install` and `install` is not important.
18before_install:
19 - travis_retry sudo add-apt-repository -y ppa:hvr/ghc
20 - travis_retry sudo apt-get update
21 - travis_retry sudo apt-get install cabal-install-$CABALVER ghc-$GHCVER # see note about happy/alex libfcgi-dev
22 - export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$PATH
24install:
25 - cabal --version
26 - echo "$(ghc --version) [$(ghc --print-project-git-commit-id 2> /dev/null || echo '?')]"
27 - travis_retry cabal update
29 - cabal unpack wai-logger
30 - mv wai-logger-* wai-logger
31 - cabal install hspec doctest HTTP cabal-meta cabal-src
32 - cabal-meta install --force-reinstalls
34 - cabal install --only-dependencies --enable-tests --enable-benchmarks
36# Here starts the actual work to be performed for the package under test; any command which exits with a non-zero exit code causes the build to fail.
37script:
38 - mega-sdist --test