Upgrade stack
[lsp-test.git] / .travis.yml
index acea78cbd644c4e88a900cba9b77453ee2d79195..f3737ff7a6e9dcf550056612cbc86ff5d8074d07 100644 (file)
@@ -7,6 +7,8 @@ os:
 - linux
 - osx
 
+dist: xenial
+
 cache:
   directories:
     - .stack-work
@@ -21,7 +23,6 @@ addons:
     packages:
       - haskell-stack
       - npm
-    update: true
   homebrew:
     packages:
       - haskell-stack
@@ -31,6 +32,7 @@ before_install:
   - mkdir -p ~/.local/bin
   - export PATH=$HOME/.local/bin:$PATH
   - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then choco install haskell-stack nodejs; fi
+  - stack upgrade # apt dist lags behind
   - mkdir -p haskell-ide-engine
   - cd $HOME/haskell-ide-engine
   - git init