Try out a wee download hie script
authorLuke Lau <luke_lau@icloud.com>
Tue, 7 Aug 2018 14:25:34 +0000 (15:25 +0100)
committerLuke Lau <luke_lau@icloud.com>
Tue, 7 Aug 2018 14:25:34 +0000 (15:25 +0100)
.download-hie.sh [new file with mode: 0644]
.travis.yml

diff --git a/.download-hie.sh b/.download-hie.sh
new file mode 100644 (file)
index 0000000..c12667e
--- /dev/null
@@ -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
index 3b4bbc2aa45c6583a4e61ad6c18245ade3d9f1af..a4e7b2e0f6d74a339d8c53029e442a772a644042 100644 (file)
@@ -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