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.
8 - GHCVER=7.8.1 # see note about Alex/Happy
9# - GHCVER=head # see section about GHC HEAD snapshots
11# Note: the distinction between `before_install` and `install` is not important.
13 - travis_retry sudo add-apt-repository -y ppa:hvr/ghc
14 - travis_retry sudo apt-get update
15 - travis_retry sudo apt-get install cabal-install-1.18 ghc-$GHCVER alex happy
16 - export PATH=/opt/ghc/$GHCVER/bin:$PATH
21 if [ $GHCVER = "head" ] || [ $GHCVER = "7.8.1" ]; then
22 cabal-1.18 install happy alex
23 export PATH=$HOME/.cabal/bin:$PATH
25# - git clone https://github.com/jgm/pandoc-types && cd pandoc-types && cabal-1.18 install && cd ..
26 - cabal-1.18 install --only-dependencies --enable-tests
28# 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.
30 - cabal-1.18 configure --enable-tests -v2 # -v2 provides useful information for debugging
31 - cabal-1.18 build --ghc-options=-Werror # this builds all libraries and executables (including tests/benchmarks)
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