File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ language: generic
1212cache :
1313 directories :
1414 - _build
15+ - $HOME/.cabal
1516 - $HOME/.local/bin
1617 - $HOME/.stack
1718
@@ -24,6 +25,14 @@ addons:
2425 - qt5-default
2526
2627before_install :
28+ - sudo add-apt-repository ppa:hvr/ghc -y
29+ - sudo add-apt-repository ppa:hvr/ghcjs -y
30+ - sudo apt-get update -q
31+ - sudo apt-get install cabal-install-3.0 ghc-8.4.4 ghcjs-8.4 -y
32+ - export PATH=/opt/ghcjs/8.4/bin:/opt/ghc/bin:$PATH
33+
34+ - cabal update
35+
2736 # Download and unpack the stack executable
2837 - mkdir -p ~/.local/bin
2938 - export PATH=$HOME/.local/bin:$PATH
@@ -50,6 +59,8 @@ matrix:
5059 - compiler : GHC 8.4
5160 env : STACK_YAML="ghc-8.4.yaml"
5261 install : build_deps
62+ - compiler : GHCJS 8.4
63+ script : cabal v2-build --ghcjs --with-compiler=ghcjs all
5364 - name : hlint
5465 install : $STACK build hlint
5566 script : $STACK exec -- hlint .
You can’t perform that action at this time.
0 commit comments