1# See https://github.com/hvr/multi-ghc-travis
2# 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.
8 - GHCVER=7.6.2 CABALVER=1.16
9 - GHCVER=7.6.3 CABALVER=1.16
10 - GHCVER=7.8.2 CABALVER=1.18
11 - GHCVER=7.8.3 CABALVER=1.18
12 - GHCVER=head CABALVER=1.20
16 - env: GHCVER=head CABALVER=1.20
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
22 - export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$PATH
27 - cabal install --only-dependencies --enable-tests
30 - cabal configure --enable-tests -v2 --enable-library-coverage
32 - cabal test --show-details=always
36# The following scriptlet checks that the resulting source distribution can be built & installed
37 - export SRC_TGZ=$(cabal-$CABALVER info . | awk '{print $2 ".tar.gz";exit}') ;
39 if [ -f "$SRC_TGZ" ]; then
40 cabal install "$SRC_TGZ";
42 echo "expected '$SRC_TGZ' not found";
47 - cabal install hpc-coveralls
48 - export PATH=/opt/ghc/$GHCVER/bin:$HOME/.cabal/bin:$PATH
49 - hpc-coveralls --coverage-mode=StrictlyFullLines mandrill-tests
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list