diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-11-21 10:33:16 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-11-21 10:33:16 -0800 |
commit | e456ddbd4ffb132bddac179f81a38fe349a918e7 (patch) | |
tree | 1ee23e9b9332310fd92c754e290250a13f44512b | |
parent | 3f89c95a4ade60ef2234ead6a0a33a67757910f6 (diff) | |
download | pandoc-e456ddbd4ffb132bddac179f81a38fe349a918e7.tar.gz |
Fixed travis.
-rw-r--r-- | .travis.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 8634b7c7e..0dadaa576 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,8 +22,11 @@ matrix: before_install: - mkdir -p ~/.local/bin +- export STACKVER=0.1.8.0 - export PATH=~/.local/bin:/opt/ghc/$GHCVER/bin:$PATH -- travis_retry curl -L https://github.com/commercialhaskell/stack/releases/download/v0.1.8.0/stack-0.1.8.0-linux-x86_64.tar.gz | gunzip > ~/.local/bin/stack +- travis_retry curl -L https://github.com/commercialhaskell/stack/releases/download/v$STACKVER/stack-$STACKVER-linux-x86_64.tar.gz +- tar xvzf stack-$STACKVER-linux-x86_64.tar.gz +- cp stack-$STACKVER-linux-x86_64/stack ~/.local/bin/stack - chmod a+x ~/.local/bin/stack install: |