From 36d977fb0b9b368c477b0d8c8fdc59059849dc53 Mon Sep 17 00:00:00 2001 From: Luke Lau Date: Tue, 7 Aug 2018 15:25:34 +0100 Subject: [PATCH] Try out a wee download hie script --- .download-hie.sh | 5 +++++ .travis.yml | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 .download-hie.sh 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 -- 2.30.2