aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-11-21 11:02:22 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-11-21 11:02:22 -0800
commit8f0490a66e0bf19560cb0895a5c7f06381da4d49 (patch)
tree4274f73068d0a81521fb5a5377dc40a936564bd3 /.travis.yml
parentad6a3401fbf080561e17b8ce164f38d0700ee1b2 (diff)
downloadpandoc-8f0490a66e0bf19560cb0895a5c7f06381da4d49.tar.gz
Travis: Use --system-ghc.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml6
1 files changed, 1 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index 31964951a..8fe1fc541 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -24,16 +24,12 @@ before_install:
- mkdir -p ~/.local/bin
- export STACKVER=0.1.8.0
- export PATH=~/.local/bin:/opt/ghc/$GHCVER/bin:$PATH
-# sanity check:
-- echo $PATH
-- which ghc
-- ghc --version
- travis_retry curl -L https://github.com/commercialhaskell/stack/releases/download/v$STACKVER/stack-$STACKVER-linux-x86_64.tar.gz | tar xvzf -
- cp stack-$STACKVER-linux-x86_64/stack ~/.local/bin/stack
- chmod a+x ~/.local/bin/stack
install:
- - stack setup --no-terminal --skip-ghc-check
+ - stack setup $GHCVER --system-ghc --no-terminal --skip-ghc-check
- stack test --only-snapshot --no-terminal --skip-ghc-check
script: