pandoc/.travis.yml

37 lines
1.2 KiB
YAML
Raw Normal View History

language: haskell
sudo: false
cache:
directories:
- $HOME/.stack/
matrix:
include:
# - env: GHCVER=7.4.2 GHCOPTS=-Werror
# compiler: ": #GHC 7.4.2"
# addons: {apt: {packages: [ghc-7.4.2], sources: [hvr-ghc]}}
# - env: GHCVER=7.6.3 GHCOPTS=-Werror
# compiler: ": #GHC 7.6.3"
# addons: {apt: {packages: [ghc-7.6.3], sources: [hvr-ghc]}}
# - env: GHCVER=7.8.4 GHCOPTS=-Werror
# compiler: ": #GHC 7.8.4"
# addons: {apt: {packages: [ghc-7.8.4], sources: [hvr-ghc]}}
- env: GHCVER=7.10.2 GHCOPTS=-Werror
compiler: ": #GHC 7.10.2"
addons: {apt: {packages: [ghc-7.10.2], sources: [hvr-ghc]}}
2013-07-14 00:15:43 +02:00
before_install:
- mkdir -p ~/.local/bin
2015-11-21 19:33:16 +01:00
- export STACKVER=0.1.8.0
- export PATH=~/.local/bin:/opt/ghc/$GHCVER/bin:$PATH
2015-11-21 19:44:09 +01:00
- travis_retry curl -L https://github.com/commercialhaskell/stack/releases/download/v$STACKVER/stack-$STACKVER-linux-x86_64.tar.gz | tar xvzf -
2015-11-21 19:33:16 +01:00
- cp stack-$STACKVER-linux-x86_64/stack ~/.local/bin/stack
- chmod a+x ~/.local/bin/stack
2014-04-09 20:36:50 +02:00
install:
2015-11-21 20:02:22 +01:00
- stack setup $GHCVER --system-ghc --no-terminal --skip-ghc-check
- stack test --only-snapshot --no-terminal --skip-ghc-check
2013-07-14 00:15:43 +02:00
script:
- stack test --no-terminal --skip-ghc-check