From 1d907937f1c09a96187681c309bab12839a3e771 Mon Sep 17 00:00:00 2001 From: Nikita Volkov Date: Sun, 12 Aug 2018 14:01:56 +0300 Subject: [PATCH] Update Travis --- .travis.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1cf3fde..3102375 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,18 +1,19 @@ env: - - ghc=8.0.2 cabal=2.4 - - ghc=8.2.2 cabal=2.4 - - ghc=8.4.2 cabal=2.4 benchmarks=1 tests=1 - - ghc=8.6.1 cabal=2.4 + - ghc=8.0.2 + - ghc=8.2.2 + - ghc=8.4.2 benchmarks=1 tests=1 + - ghc=8.6.1 matrix: allow_failures: - - env: ghc=8.6.1 cabal=2.4 + - env: ghc=8.6.1 install: # Set up the Shell to treat the semicolon as && - set -o pipefail && set -e # Install GHC and Cabal - + cabal=${cabal=2.4}; travis_retry sudo add-apt-repository -y ppa:hvr/ghc; travis_retry sudo apt-get update; travis_retry sudo apt-get install cabal-install-$cabal ghc-$ghc; @@ -26,6 +27,8 @@ install: cd dist; tar xzvf $pkg_name.tar.gz; cd $pkg_name; + # Install the "haskell-src-exts" implicit dependency + - cabal install happy --reorder-goals --force-reinstalls # Install the library dependencies - cabal install --only-dependencies --reorder-goals --force-reinstalls $([ "$tests" = "1" ] && echo "--enable-tests")