projects
/
lsp-test.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert back to just osx and linux builds
[lsp-test.git]
/
.travis.yml
diff --git
a/.travis.yml
b/.travis.yml
index 84e60fc94808d9d7f8ba930a596f79d6797e46cb..616cc4fa90f61aeb9a7d127edf2d62642daea168 100644
(file)
--- a/
.travis.yml
+++ b/
.travis.yml
@@
-1,16
+1,16
@@
-language:
c
+language:
haskell
sudo: false
os:
- linux
- osx
sudo: false
os:
- linux
- osx
-- windows
+
#
- windows
dist: xenial
dist: xenial
-
#
ghc:
-
#
- 8.6.5
-
#
cabal: '2.4'
+ghc:
+- 8.6.5
+cabal: '2.4'
cache:
directories:
cache:
directories:
@@
-25,28
+25,34
@@
addons:
- sourceline: ppa:hvr/ghc
packages:
- npm
- sourceline: ppa:hvr/ghc
packages:
- npm
- - ghc-8.6.5
- - cabal-install-2.4
+
#
- ghc-8.6.5
+
#
- cabal-install-2.4
homebrew:
packages:
- ghc
- cabal-install
- npm
homebrew:
packages:
- ghc
- cabal-install
- npm
+ update: true
before_install:
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then choco install ghc cabal nodejs; /C/ProgramData/chocolatey/bin/RefreshEnv.cmd; fi
before_install:
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then choco install ghc cabal nodejs; /C/ProgramData/chocolatey/bin/RefreshEnv.cmd; fi
-- export PATH=$HOME/.cabal/bin:$PATH
+# these are taken from the haskell language setup
+# - export PATH=/opt/ghc/8.6.5/bin:${PATH}
+# - export PATH=/opt/cabal/2.4/bin:${PATH}
+- export PATH=$HOME/.cabal/bin:${PATH}
- mkdir -p $HOME/haskell-ide-engine
- mkdir -p $HOME/haskell-ide-engine
--
c
d $HOME/haskell-ide-engine
+-
push
d $HOME/haskell-ide-engine
- git init
- git remote add origin https://github.com/haskell/haskell-ide-engine.git
- git pull origin master
- git checkout abdb097f39e135deaf321a604c95f16cbda32678
- git submodule update --init
- git init
- git remote add origin https://github.com/haskell/haskell-ide-engine.git
- git pull origin master
- git checkout abdb097f39e135deaf321a604c95f16cbda32678
- git submodule update --init
+- cabal v2-update
- 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
-- cd $TRAVIS_BUILD_DIR
+- popd
+# needs to be old-install for cabal-helper to find it
- cabal install Cabal --constraint "Cabal == 2.4.1.0"
- npm update
- npm i -g javascript-typescript-langserver
- cabal install Cabal --constraint "Cabal == 2.4.1.0"
- npm update
- npm i -g javascript-typescript-langserver
@@
-54,6
+60,7
@@
before_install:
install:
- cabal v2-build
script:
install:
- cabal v2-build
script:
+# until cabal v2-test supports streaming results
- cabal v2-run lsp-test:test:tests
deploy:
- cabal v2-run lsp-test:test:tests
deploy: