From 770697009dcccd2ece94968e4e230e86c6816a0a Mon Sep 17 00:00:00 2001 From: Kirill Zaborsky Date: Fri, 25 Jan 2019 11:34:17 +0300 Subject: [PATCH] build constraints check with new Stackage curator --- etc/ci-script.sh | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/etc/ci-script.sh b/etc/ci-script.sh index 91c08bc3..93703ab4 100755 --- a/etc/ci-script.sh +++ b/etc/ci-script.sh @@ -15,6 +15,13 @@ bunzip2 stackage-curator.bz2 chmod +x stackage-curator mv stackage-curator ~/.local/bin +# Get new stackage-curator +CURATOR2=stackage-curator-2-d1f0fde156245ddbb6656461f3f3531ea84488a2 +wget "https://s3.amazonaws.com/www.snoyman.com/stackage-curator-2/$CURATOR2.bz2" +bunzip2 "$CURATOR2.bz2" +chmod +x $CURATOR2 +mv $CURATOR2 ~/.local/bin/stackage-curator-2 + # Install GHC stack setup $GHCVER @@ -22,4 +29,11 @@ stack setup $GHCVER stack update # Check -exec stack --resolver ghc-$GHCVER exec stackage-curator check +stack --resolver ghc-$GHCVER exec stackage-curator check + +# New curator check +stackage-curator-2 update && + stackage-curator-2 constraints && + stackage-curator-2 snapshotincomplete && + stackage-curator-2 snapshot && + stackage-curator-2 checksnapshot