From: Luke Lau Date: Tue, 7 Aug 2018 14:25:34 +0000 (+0100) Subject: Try out a wee download hie script X-Git-Url: https://git.lukelau.me/?p=lsp-test.git;a=commitdiff_plain;h=36d977fb0b9b368c477b0d8c8fdc59059849dc53 Try out a wee download hie script --- diff --git a/.download-hie.sh b/.download-hie.sh new file mode 100644 index 0000000..c12667e --- /dev/null +++ b/.download-hie.sh @@ -0,0 +1,5 @@ +#!/bin/sh +case `hie --version` in + *8.4.3*) wget https://877-129435383-gh.circle-artifacts.com/0/bin/hie;; + *8.2.2*) wget https://878-129435383-gh.circle-artifacts.com/0/bin/hie;; +esac diff --git a/.travis.yml b/.travis.yml index 3b4bbc2..a4e7b2e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,9 +19,7 @@ addons: - hoogle before_install: - - printenv - # - cd $HOME - - wget https://877-129435383-gh.circle-artifacts.com/0/bin/hie + - sh .download-hie.sh - export PATH=$TRAVIS_BUILD_DIR:$PATH # - mkdir -p haskell-ide-engine # - cd haskell-ide-engine