Fix git pull
authorLuke Lau <luke_lau@icloud.com>
Wed, 8 Aug 2018 10:29:22 +0000 (11:29 +0100)
committerLuke Lau <luke_lau@icloud.com>
Wed, 8 Aug 2018 10:29:22 +0000 (11:29 +0100)
.travis.yml

index 9d023f87de5c92c19397b697060b39463499060b..08aa0518736af212a7beadc5ec04052c42d7cba6 100644 (file)
@@ -25,7 +25,7 @@ before_install:
   - export PATH=$HOME/.local/bin:$PATH
   - travis_retry curl -L https://get.haskellstack.org/stable/linux-x86_64.tar.gz | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
   - stack config set system-ghc --global true
-  - export PATH=/opt/ghc/8.4.3/bin:$PATH
+  - export PATH=/opt/ghc/8.4.3/bin:$PATH
   # - sh .download-hie.sh
   # - export PATH=$TRAVIS_BUILD_DIR:$PATH
   # - hie version
@@ -33,9 +33,10 @@ before_install:
   - cd $HOME/haskell-ide-engine
   - git init
   - git remote add origin https://github.com/haskell/haskell-ide-engine.git
-  - git pull
+  - git pull origin master
   - stack --no-terminal install
   - cd $TRAVIS_BUILD_DIR
+  - hie --version
   # - git submodule init
   # - git submodule sync
   # - git submodule update