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:
9530a8d
)
Try manually adding ghc to path on windows
author
Luke Lau
<luke_lau@icloud.com>
Sat, 8 Jun 2019 19:26:26 +0000
(20:26 +0100)
committer
Luke Lau
<luke_lau@icloud.com>
Sat, 8 Jun 2019 19:26:26 +0000
(20:26 +0100)
.travis.yml
patch
|
blob
|
history
diff --git
a/.travis.yml
b/.travis.yml
index 616cc4fa90f61aeb9a7d127edf2d62642daea168..8a6fd8040dc237f0f5f6d54de70af8412d7ee6c5 100644
(file)
--- a/
.travis.yml
+++ b/
.travis.yml
@@
-1,10
+1,10
@@
-language:
haskell
+language:
c
sudo: false
os:
- linux
- osx
sudo: false
os:
- linux
- osx
-
#
- windows
+- windows
dist: xenial
dist: xenial
@@
-25,8
+25,8
@@
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
homebrew:
packages:
- ghc
@@
-35,11
+35,18
@@
addons:
update: true
before_install:
update: true
before_install:
-- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then choco install ghc cabal nodejs; /C/ProgramData/chocolatey/bin/RefreshEnv.cmd; fi
+- |
+ if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then
+ choco install ghc cabal nodejs
+ /C/ProgramData/chocolatey/bin/RefreshEnv.cmd
+ export PATH=/C/ProgramData/chocolatey/lib/ghc/tools/ghc-8.6.5/bin:${PATH}
+ /C/ProgramData/chocolatey/bin/RefreshEnv.cmd
+ fi
# these are taken from the haskell language setup
# 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=/opt/ghc/8.6.5/bin:${PATH}
+- export PATH=/opt/cabal/2.4/bin:${PATH}
- export PATH=$HOME/.cabal/bin:${PATH}
- export PATH=$HOME/.cabal/bin:${PATH}
+- ghc --version
- mkdir -p $HOME/haskell-ide-engine
- pushd $HOME/haskell-ide-engine
- git init
- mkdir -p $HOME/haskell-ide-engine
- pushd $HOME/haskell-ide-engine
- git init