git.iko.soy/typeable/pandoc
on master help sign in
Update travis file
commit2a3df35423dba7107afbc9d0a39d723d2475d54e authorMatthew Pickering <matthewtpickering@gmail.com> dateFri 30 Jan 2015, 00:34 (12 years ago) parent7050c26
1 file changed+11−10
.travis.yml+11−10
.travis.yml+11−10
@@ -3,26 +3,27 @@
33# 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.
44env:
55# - GHCVER=6.12.3
6− - GHCVER=7.4.2
7− - GHCVER=7.6.3
8− - GHCVER=7.8.2 # see note about Alex/Happy
6+ - CABALVER=1.16 GHCVER=7.4.2
7+ - CABALVER=1.18 GHCVER=7.6.3
8+ - CABALVER=1.18 GHCVER=7.8.4 # see note about Alex/Happy
9+ - CABALVER=1.22 GHCVER=7.10.1
910# - GHCVER=head # see section about GHC HEAD snapshots
1011
1112# Note: the distinction between `before_install` and `install` is not important.
1213before_install:
1314 - travis_retry sudo add-apt-repository -y ppa:hvr/ghc
1415 - travis_retry sudo apt-get update
15− - travis_retry sudo apt-get install cabal-install-1.18 ghc-$GHCVER
16+ - travis_retry sudo apt-get install cabal-install-$CABALVER ghc-$GHCVER
1617 - export PATH=/opt/ghc/$GHCVER/bin:$PATH
1718
1819install:
19− - cabal-1.18 update
20+ - cabal-$CABALVER update
2021# - git clone https://github.com/jgm/pandoc-types && cd pandoc-types && cabal-1.18 install && cd ..
21− - cabal-1.18 install --only-dependencies --enable-tests
22+ - cabal-$CABALVER install --only-dependencies --enable-tests
2223
2324# 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.
2425script:
25− - cabal-1.18 configure --enable-tests -v2 # -v2 provides useful information for debugging
26− - cabal-1.18 build --ghc-options=-Werror # this builds all libraries and executables (including tests/benchmarks)
27− - cabal-1.18 test
28− - cabal-1.18 check
26+ - cabal-$CABALVER configure --enable-tests -v2 # -v2 provides useful information for debugging
27+ - cabal-$CABALVER build --ghc-options=-Werror # this builds all libraries and executables (including tests/benchmarks)
28+ - cabal-$CABALVER test
29+ - cabal-$CABALVER check