projects
/
lsp-test.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7ca8d96
)
Try out other operating systems
author
Luke Lau
<luke_lau@icloud.com>
Sat, 8 Jun 2019 17:01:48 +0000
(18:01 +0100)
committer
Luke Lau
<luke_lau@icloud.com>
Sat, 8 Jun 2019 19:17:15 +0000
(20:17 +0100)
.travis.yml
patch
|
blob
|
history
test/Test.hs
patch
|
blob
|
history
diff --git
a/.travis.yml
b/.travis.yml
index dc3d0b1c838acaca9b029954985d6a9ccf542bae..95e25efee788ae41134ba91c3c8b2d91169424fc 100644
(file)
--- a/
.travis.yml
+++ b/
.travis.yml
@@
-1,7
+1,13
@@
language: haskell
language: haskell
-dist: xenial
sudo: false
sudo: false
+os:
+- linux
+- osx
+- windows
+
+dist: xenial
+
ghc:
- 8.6.5
cabal: '2.4'
ghc:
- 8.6.5
cabal: '2.4'
@@
-12,7
+18,6
@@
cache:
- "$HOME/.ghc"
- "$HOME/haskell-ide-engine/dist-newstyle"
- "dist-newstyle"
- "$HOME/.ghc"
- "$HOME/haskell-ide-engine/dist-newstyle"
- "dist-newstyle"
- timeout: 1000
addons:
apt:
addons:
apt:
@@
-28,7
+33,6
@@
before_install:
- git pull origin master
- git checkout abdb097f39e135deaf321a604c95f16cbda32678
- git submodule update --init
- 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
- 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:
install:
- cabal v2-build
script:
- # - cabal v2-test-
- cabal v2-run lsp-test:test:tests
deploy:
- cabal v2-run lsp-test:test:tests
deploy:
diff --git
a/test/Test.hs
b/test/Test.hs
index 15f457f7852648082ed76a9334ff1da12b71dd9d..cdcdf5d37d5c5fedf093b0d638b20e4f25ff5d29 100644
(file)
--- 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
withTimeout 5 $ skipManyTill anyMessage publishDiagnosticsNotification
in void $ timeout 6000000 sesh
- it "further timeout messages are ignored" $ runSession
WithConfig (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
doc <- openDoc "Desktop/simple.hs" "haskell"
-- warm up the cache
getDocumentSymbols doc