summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-07-05 09:50:03 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-07-05 09:50:03 -0700
commitedf55dcee89dd760a9012e7159330882be0e10fa (patch)
tree98d977cd0d0055b9159435943526383c9cdd22f8 /.travis.yml
parent923e65ffa8bf0794fc9482ab1e98056394cb7652 (diff)
Travis: reorder hsb2hs install.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 0ea418dac..63cbcd20d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -24,8 +24,10 @@ before_install:
install:
- cabal-$CABALVER update
# - git clone https://github.com/jgm/pandoc-types && cd pandoc-types && cabal-1.18 install && cd ..
- - cabal-$CABALVER install hsb2hs
- cabal-$CABALVER install $JOPTS --only-dependencies --enable-tests
+# hsb2hs is needed for -fembed_data_files, and is needed for sdist on
+# older cabal versions (1.16):
+ - cabal-$CABALVER install hsb2hs
# 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.
script: