Skip to content

Commit

Permalink
Update Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
nikita-volkov committed Aug 12, 2018
1 parent 05c4c28 commit 1d90793
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -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")
Expand Down

0 comments on commit 1d90793

Please sign in to comment.