on lts3 help sign in
stackage/.travis.yml
25 lines 754 B history raw
1sudo: false
3addons:
4 apt:
5 sources:
6 - hvr-ghc
7 packages:
8 - ghc-7.10.1
9 - cabal-install-1.22
11# Note: the distinction between `before_install` and `install` is not important.
12before_install:
13 - export PATH=/opt/ghc/7.10.1/bin:/opt/cabal/1.22/bin:$PATH
15install:
16 - cabal --version
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
20 - bunzip2 stackage-curator.bz2
21 - 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.
24script:
25 - ./stackage-curator check