@@ -1,13 +1,14 @@
1# This Travis job script has been generated by a script via
1# This Travis job script has been generated by a script via
3−# haskell-ci 'reflex.cabal' '--config' 'cabal.haskell-ci'
3+# haskell-ci '--config=cabal.haskell-ci' 'cabal.project'
5# For more information, see https://github.com/haskell-CI/haskell-ci
5# For more information, see https://github.com/haskell-CI/haskell-ci
7−# version: 0.3.20190815
7+# version: 0.3.20190814
10dist: xenial
10dist: xenial
12 # whether to recursively clone submodules
13 # whether to recursively clone submodules
13 submodules: false
14 submodules: false
@@ -39,25 +40,24 @@ matrix:
39 - compiler: ghc-8.0.2
40 - compiler: ghc-8.0.2
40 addons: {"apt":{"sources":["hvr-ghc"],"packages":["ghc-8.0.2","cabal-install-2.4"]}}
41 addons: {"apt":{"sources":["hvr-ghc"],"packages":["ghc-8.0.2","cabal-install-2.4"]}}
41before_install:
42before_install:
43− if echo $CC | grep -q ghcjs; then
49 if [ "$TRAVIS_OS_NAME" = "linux" ]; then
44 if [ "$TRAVIS_OS_NAME" = "linux" ]; then
50− if $GHCJS ; then sudo add-apt-repository -y ppa:hvr/ghcjs ; fi;
45+ sudo add-apt-repository -y ppa:hvr/ghcjs;
51− if $GHCJS ; then curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | sudo apt-key add - ; fi;
46+ curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | sudo apt-key add -
52− if $GHCJS ; then sudo apt-add-repository 'https://deb.nodesource.com/node_8.x xenial main' ; fi;
47+ sudo apt-add-repository 'https://deb.nodesource.com/node_8.x xenial main'
53− if $GHCJS ; then sudo apt-get update ; fi;
48+ sudo apt-get update;
54− sudo apt-get install $CC;
49+ sudo apt-get install $CC cabal-install-3.0 nodejs;
55− if $GHCJS ; then sudo apt-get install -y nodejs cabal-install-3.0 ; fi;
57 - HC=$(echo "/opt/$CC/bin/ghc" | sed 's/-/\//')
51 - HC=$(echo "/opt/$CC/bin/ghc" | sed 's/-/\//')
58 - WITHCOMPILER="-w $HC"
52 - WITHCOMPILER="-w $HC"
54+ if echo $CC | grep -q ghcjs; then
59− - if $GHCJS ; then HC=${HC}js ; fi
56+ HC=${HC}js
60− - if $GHCJS ; then WITHCOMPILER="--ghcjs ${WITHCOMPILER}js" ; fi
57+ WITHCOMPILER="--ghcjs ${WITHCOMPILER}js"
61 - if $GHCJS ; then sudo apt-get install -y ghc-8.4.4 ; fi
61 - if $GHCJS ; then sudo apt-get install -y ghc-8.4.4 ; fi
62 - if $GHCJS ; then PATH="/opt/ghc/8.4.4/bin:$PATH" ; fi
62 - if $GHCJS ; then PATH="/opt/ghc/8.4.4/bin:$PATH" ; fi
63 - HCPKG="$HC-pkg"
63 - HCPKG="$HC-pkg"
@@ -173,5 +173,5 @@ script:
173 # Constraint set debug-cycles
173 # Constraint set debug-cycles
174 - ${CABAL} v2-build $WITHCOMPILER --disable-tests --disable-benchmarks --constraint='reflex +debug-cycles' all | color_cabal_output
174 - ${CABAL} v2-build $WITHCOMPILER --disable-tests --disable-benchmarks --constraint='reflex +debug-cycles' all | color_cabal_output
176−# REGENDATA ["reflex.cabal","--config","cabal.haskell-ci"]
176+# REGENDATA ["--config=cabal.haskell-ci","cabal.project"]