From 2a51e05448adea9bced6aa87390f99f66bf6ee53 Mon Sep 17 00:00:00 2001 From: Michael Snoyman Date: Mon, 29 Apr 2019 16:03:39 +0300 Subject: [PATCH] Test against persistent 2.10 --- .travis.yml | 8 ++++++++ stack-persistent-2-10.yaml | 19 +++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 stack-persistent-2-10.yaml diff --git a/.travis.yml b/.travis.yml index 54116a76..8e0b8018 100644 --- a/.travis.yml +++ b/.travis.yml @@ -80,6 +80,10 @@ matrix: compiler: ": #stack/persistent 2.9" addons: {apt: {packages: [libgmp-dev]}} + - env: BUILD=stack ARGS="--stack-yaml stack-persistent-2-10.yaml" + compiler: ": #stack/persistent 2.10" + addons: {apt: {packages: [libgmp-dev]}} + # Nightly builds are allowed to fail - env: BUILD=stack ARGS="--resolver nightly" compiler: ": #stack nightly" @@ -110,6 +114,10 @@ matrix: compiler: ": #stack/persistent 2.9" os: osx + - env: BUILD=stack ARGS="--stack-yaml stack-persistent-2-10.yaml" + compiler: ": #stack/persistent 2.10" + os: osx + - env: BUILD=stack ARGS="--resolver nightly" compiler: ": #stack nightly osx" os: osx diff --git a/stack-persistent-2-10.yaml b/stack-persistent-2-10.yaml new file mode 100644 index 00000000..d1e28093 --- /dev/null +++ b/stack-persistent-2-10.yaml @@ -0,0 +1,19 @@ +resolver: lts-13.17 +packages: +- ./yesod-core +- ./yesod-static +- ./yesod-persistent +- ./yesod-newsfeed +- ./yesod-form +- ./yesod-auth +- ./yesod-auth-oauth +- ./yesod-sitemap +- ./yesod-test +- ./yesod-bin +- ./yesod +- ./yesod-eventsource +- ./yesod-websockets +extra-deps: +- persistent-2.10.0@rev:0 +- persistent-sqlite-2.10.0@rev:0 +- persistent-template-2.7.0@rev:0