From 49c803688253352a92d0d1bce2685bef38c43196 Mon Sep 17 00:00:00 2001 From: Luke Lau Date: Sat, 8 Jun 2019 18:01:48 +0100 Subject: [PATCH] Try out other operating systems --- .travis.yml | 11 +++++++---- test/Test.hs | 2 +- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index dc3d0b1..95e25ef 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,13 @@ language: haskell -dist: xenial sudo: false +os: +- linux +- osx +- windows + +dist: xenial + ghc: - 8.6.5 cabal: '2.4' @@ -12,7 +18,6 @@ cache: - "$HOME/.ghc" - "$HOME/haskell-ide-engine/dist-newstyle" - "dist-newstyle" - timeout: 1000 addons: apt: @@ -28,7 +33,6 @@ before_install: - git pull origin master - git checkout abdb097f39e135deaf321a604c95f16cbda32678 - git submodule update --init -- ls -a - cabal v2-install hie -j2 --overwrite-policy=always - cabal v2-install hoogle -j2 --overwrite-policy=always - hoogle generate @@ -40,7 +44,6 @@ before_install: install: - cabal v2-build script: - # - cabal v2-test- - cabal v2-run lsp-test:test:tests deploy: diff --git a/test/Test.hs b/test/Test.hs index 15f457f..cdcdf5d 100644 --- a/test/Test.hs +++ b/test/Test.hs @@ -60,7 +60,7 @@ main = hspec $ do withTimeout 5 $ skipManyTill anyMessage publishDiagnosticsNotification in void $ timeout 6000000 sesh - it "further timeout messages are ignored" $ runSessionWithConfig (defaultConfig { logStdErr = True }) "hie -d --vomit" fullCaps "test/data/renamePass" $ do + it "further timeout messages are ignored" $ runSession "hie" fullCaps "test/data/renamePass" $ do doc <- openDoc "Desktop/simple.hs" "haskell" -- warm up the cache getDocumentSymbols doc -- 2.30.2