Refreshenv on windows
authorLuke Lau <luke_lau@icloud.com>
Thu, 6 Dec 2018 22:23:20 +0000 (22:23 +0000)
committerLuke Lau <luke_lau@icloud.com>
Thu, 6 Dec 2018 22:29:29 +0000 (22:29 +0000)
.travis.yml

index 2c24b5be7b7d8afb297496f9e4308e091df6b40e..de3a7f499ed29dfc82b6ad6c6ef5ca9960d28980 100644 (file)
@@ -30,7 +30,7 @@ addons:
 before_install:
   - mkdir -p ~/.local/bin
   - export PATH=$HOME/.local/bin:$PATH
-  - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then choco install haskell-stack nodejs npm 7zip; fi
+  - 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
   - mkdir -p haskell-ide-engine
   - cd $HOME/haskell-ide-engine