From 83336ae991c9f7a7a2dfd4a53ebd22a856dca8a1 Mon Sep 17 00:00:00 2001 From: Oleg Grenrus Date: Sun, 17 Nov 2019 19:39:44 +0200 Subject: [PATCH] Small updates - Allow newer js-jquery in tutorial - use bionic on Travis - allow newer hspec in servant-jsaddle --- .travis.yml | 14 +++++++------- cabal.haskell-ci | 1 + doc/tutorial/tutorial.cabal | 2 +- servant-jsaddle/servant-jsaddle.cabal | 2 +- 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index 53d44e3d..97ea3717 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,7 @@ # version: 0.7.20191106 # language: c -dist: xenial +dist: bionic git: # whether to recursively clone submodules submodules: false @@ -33,17 +33,17 @@ before_cache: matrix: include: - compiler: ghcjs-8.4 - addons: {"apt":{"sources":["hvr-ghc",{"sourceline":"deb http://ppa.launchpad.net/hvr/ghcjs/ubuntu xenial main"},{"sourceline":"deb https://deb.nodesource.com/node_8.x xenial main","key_url":"https://deb.nodesource.com/gpgkey/nodesource.gpg.key"}],"packages":["ghcjs-8.4","cabal-install-3.0","ghc-8.4.4","nodejs"]}} + addons: {"apt":{"sources":[{"sourceline":"deb http://ppa.launchpad.net/hvr/ghc/ubuntu bionic main","key_url":"https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x063dab2bdc0b3f9fcebc378bff3aeacef6f88286"},{"sourceline":"deb http://ppa.launchpad.net/hvr/ghcjs/ubuntu bionic main"}],"packages":["ghcjs-8.4","cabal-install-3.0","ghc-8.4.4","nodejs"]}} - compiler: ghc-8.8.1 - addons: {"apt":{"sources":["hvr-ghc"],"packages":["ghc-8.8.1","cabal-install-3.0"]}} + addons: {"apt":{"sources":[{"sourceline":"deb http://ppa.launchpad.net/hvr/ghc/ubuntu bionic main","key_url":"https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x063dab2bdc0b3f9fcebc378bff3aeacef6f88286"}],"packages":["ghc-8.8.1","cabal-install-3.0"]}} - compiler: ghc-8.6.5 - addons: {"apt":{"sources":["hvr-ghc"],"packages":["ghc-8.6.5","cabal-install-3.0"]}} + addons: {"apt":{"sources":[{"sourceline":"deb http://ppa.launchpad.net/hvr/ghc/ubuntu bionic main","key_url":"https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x063dab2bdc0b3f9fcebc378bff3aeacef6f88286"}],"packages":["ghc-8.6.5","cabal-install-3.0"]}} - compiler: ghc-8.4.4 - addons: {"apt":{"sources":["hvr-ghc"],"packages":["ghc-8.4.4","cabal-install-3.0"]}} + addons: {"apt":{"sources":[{"sourceline":"deb http://ppa.launchpad.net/hvr/ghc/ubuntu bionic main","key_url":"https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x063dab2bdc0b3f9fcebc378bff3aeacef6f88286"}],"packages":["ghc-8.4.4","cabal-install-3.0"]}} - compiler: ghc-8.2.2 - addons: {"apt":{"sources":["hvr-ghc"],"packages":["ghc-8.2.2","cabal-install-3.0"]}} + addons: {"apt":{"sources":[{"sourceline":"deb http://ppa.launchpad.net/hvr/ghc/ubuntu bionic main","key_url":"https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x063dab2bdc0b3f9fcebc378bff3aeacef6f88286"}],"packages":["ghc-8.2.2","cabal-install-3.0"]}} - compiler: ghc-8.0.2 - addons: {"apt":{"sources":["hvr-ghc"],"packages":["ghc-8.0.2","cabal-install-3.0"]}} + addons: {"apt":{"sources":[{"sourceline":"deb http://ppa.launchpad.net/hvr/ghc/ubuntu bionic main","key_url":"https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x063dab2bdc0b3f9fcebc378bff3aeacef6f88286"}],"packages":["ghc-8.0.2","cabal-install-3.0"]}} before_install: - | if echo $CC | grep -q ghcjs; then diff --git a/cabal.haskell-ci b/cabal.haskell-ci index 023c5323..85c02cf6 100644 --- a/cabal.haskell-ci +++ b/cabal.haskell-ci @@ -1,3 +1,4 @@ +distribution: bionic folds: all-but-test branches: master jobs-selection: any diff --git a/doc/tutorial/tutorial.cabal b/doc/tutorial/tutorial.cabal index d68dad30..296b6476 100644 --- a/doc/tutorial/tutorial.cabal +++ b/doc/tutorial/tutorial.cabal @@ -66,7 +66,7 @@ library blaze-html >= 0.9.0.1 && < 0.10 , blaze-markup >= 0.8.0.0 && < 0.9 , cookie >= 0.4.3 && < 0.5 - , js-jquery >= 3.2.1 && < 3.3 + , js-jquery >= 3.3.1 && < 3.4 , lucid >= 2.9.11 && < 2.10 , random >= 1.1 && < 1.2 , servant-js >= 0.9 && < 0.10 diff --git a/servant-jsaddle/servant-jsaddle.cabal b/servant-jsaddle/servant-jsaddle.cabal index e12cf9e5..4ff54b6d 100644 --- a/servant-jsaddle/servant-jsaddle.cabal +++ b/servant-jsaddle/servant-jsaddle.cabal @@ -122,4 +122,4 @@ test-suite spec , jsaddle-warp , QuickCheck - build-tool-depends: hspec-discover:hspec-discover >=2.4.4 && <2.5 + build-tool-depends: hspec-discover:hspec-discover >=2.6.0 && <2.8