From 30f12a7091f1049bf63832e058bc877bef480d4e Mon Sep 17 00:00:00 2001 From: Oleg Grenrus Date: Tue, 5 Dec 2017 14:49:27 +0200 Subject: [PATCH] Add temporary constraints to fix Travis. Revert me when cryptonite issue is resolved! --- .travis.yml | 3 +++ cabal.project | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/.travis.yml b/.travis.yml index 93388c60..d58bba3f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -109,6 +109,9 @@ script: # Allow-newer and other cabal.project amendments - "echo 'allow-newer: servant-js:servant, servant-js:servant-foreign' >> cabal.project" + # cryptonite + - "echo 'constraints: foundation >=0.0.14' >> cabal.project" + - echo -en 'travis_fold:end:unpack\\r' - echo Building... && echo -en 'travis_fold:start:build\\r' # this builds all libraries and executables (without tests/benchmarks) diff --git a/cabal.project b/cabal.project index a998aa80..db9c3578 100644 --- a/cabal.project +++ b/cabal.project @@ -7,3 +7,7 @@ packages: servant/ doc/tutorial/ allow-newer: servant-js:servant-foreign + +constraints: + -- see https://github.com/haskell-infra/hackage-trustees/issues/119 + foundation >=0.0.14