on master help sign in
Try to use Travis caching
7873834Michael Snoyman
.travis.yml+6−1
@@ -1,6 +1,11 @@
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+
4# Note: the distinction between `before_install` and `install` is not important.
9# Note: the distinction between `before_install` and `install` is not important.
5before_install:
10before_install:
6 - travis_retry sudo add-apt-repository -y ppa:hvr/ghc
11 - travis_retry sudo add-apt-repository -y ppa:hvr/ghc
@@ -16,4 +21,4 @@ install:
16
21
17# 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.
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.
18script:
23script:
19− - stackage check
24+ - ./dist/build/stackage/stackage check