diff --git a/.travis.yml b/.travis.yml index a8e3085..eb299a6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,25 +7,24 @@ dist: trusty matrix: include: - - env: CABALVER=1.22 GHCVER=7.8.4 - addons: {apt: {packages: [cabal-install-1.22,ghc-7.8.4,libgtk2.0-dev,libgtk-3-dev], sources: [hvr-ghc]}} - - env: CABALVER=1.22 GHCVER=7.10.2 - addons: {apt: {packages: [cabal-install-1.22,ghc-7.10.2,libgtk2.0-dev,libgtk-3-dev], sources: [hvr-ghc]}} + - env: CABALVER=1.24 GHCVER=7.8.4 + addons: {apt: {packages: [cabal-install-1.24,ghc-7.8.4,libgtk2.0-dev,libgtk-3-dev], sources: [hvr-ghc]}} + - env: CABALVER=1.24 GHCVER=7.10.2 + addons: {apt: {packages: [cabal-install-1.24,ghc-7.10.2,libgtk2.0-dev,libgtk-3-dev], sources: [hvr-ghc]}} + - env: CABALVER=1.24 GHCVER=8.0.1 + addons: {apt: {packages: [cabal-install-1.24,ghc-7.10.2,libgtk2.0-dev,libgtk-3-dev], sources: [hvr-ghc]}} - env: CABALVER=head GHCVER=head addons: {apt: {packages: [cabal-install-head,ghc-head,libgtk2.0-dev,libgtk-3-dev], sources: [hvr-ghc]}} allow_failures: - env: CABALVER=head GHCVER=head -# workaround since CABALVER=1.24 doesn't work yet before_install: - export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$PATH - - travis_retry cabal update - - cabal install cabal-1.24.0.0 - - export PATH="~/.cabal/bin:$PATH" install: - cabal --version + - travis_retry cabal update - cabal sandbox init - cabal install alex happy - export PATH="$(pwd)/.cabal-sandbox/bin:$PATH"