Tweak timeout tests
[lsp-test.git] / .travis.yml
index de3a7f499ed29dfc82b6ad6c6ef5ca9960d28980..f26edb0e6c7e24605a0d183f5c3ac78d36777de0 100644 (file)
@@ -28,10 +28,8 @@ addons:
       - npm
 
 before_install:
-  - mkdir -p ~/.local/bin
-  - export PATH=$HOME/.local/bin:$PATH
-  - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then choco install haskell-stack nodejs 7zip; export PATH=/C/ProgramData/chocolatey/bin:$PATH; refreshenv; fi
-  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then curl -sSL https://get.haskellstack.org/ | sh; fi
+  - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then choco install haskell-stack nodejs; /C/ProgramData/chocolatey/bin/RefreshEnv.cmd; fi
+  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./.linux.sh; fi
   - mkdir -p haskell-ide-engine
   - cd $HOME/haskell-ide-engine
   - git init