@@ -1,25 +1,27 @@
3−addons:
3+language: haskell
11−# Note: the distinction between `before_install` and `install` is not important.
13− - export PATH=/opt/ghc/7.10.1/bin:/opt/cabal/1.22/bin:$PATH
16− - cabal --version
6+ # Get stackage-curator
17− - echo "$(ghc --version) [$(ghc --print-project-git-commit-id 2> /dev/null || echo '?')]"
18− - travis_retry cabal update
19 - wget https://s3.amazonaws.com/stackage-travis/stackage-curator/stackage-curator.bz2
7 - wget https://s3.amazonaws.com/stackage-travis/stackage-curator/stackage-curator.bz2
20 - bunzip2 stackage-curator.bz2
8 - bunzip2 stackage-curator.bz2
21 - chmod +x stackage-curator
9 - chmod +x stackage-curator
23−# Here starts the actual work to be performed for the package under test; any command which exits with a non-zero exit code causes the build to fail.
11+ # Get stack
12+ - travis_retry curl -L https://github.com/commercialhaskell/stack/releases/download/v0.1.3.0/stack-0.1.3.0-x86_64-linux-gmp4.gz | gunzip > stack
15+ # Install GHC and cabal-install
17+ - ./stack --resolver nightly-2015-08-12 build cabal-install
20+ - travis_retry ./stack exec cabal update
25− - ./stackage-curator check
23+ - ./stack --resolver 7.10 exec ./stackage-curator check