on master help sign in
Use prebuilt stackage-curator executable
db6cc51Michael Snoyman
.travis.yml+4−7
@@ -1,11 +1,6 @@
1env:
1env:
2 - CABALVER=1.20 GHCVER=7.8.4
2 - CABALVER=1.20 GHCVER=7.8.4
3
3
4−cache:
5− directories:
6− - $HOME/.ghc
7− - $HOME/.cabal
8−
9# Note: the distinction between `before_install` and `install` is not important.
4# Note: the distinction between `before_install` and `install` is not important.
10before_install:
5before_install:
11 - travis_retry sudo add-apt-repository -y ppa:hvr/ghc
6 - travis_retry sudo add-apt-repository -y ppa:hvr/ghc
@@ -17,8 +12,10 @@ install:
17 - cabal --version
12 - cabal --version
18 - echo "$(ghc --version) [$(ghc --print-project-git-commit-id 2> /dev/null || echo '?')]"
13 - echo "$(ghc --version) [$(ghc --print-project-git-commit-id 2> /dev/null || echo '?')]"
19 - travis_retry cabal update
14 - travis_retry cabal update
20− - cabal install -j
15+ - wget https://s3.amazonaws.com/stackage-travis/stackage-curator.bz2
16+ - bunzip2 stackage-curator.bz2
17+ - chmod +x stackage-curator
21
18
22# 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.
19# 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.
23script:
20script:
24− - ./dist/build/stackage/stackage check
21+ - ./stackage-curator check