aboutsummaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml16
1 files changed, 13 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index f0ecd95..6d0e226 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,6 +2,8 @@
2language: c 2language: c
3sudo: false 3sudo: false
4 4
5
6
5cache: 7cache:
6 directories: 8 directories:
7 - $HOME/.cabsnap 9 - $HOME/.cabsnap
@@ -16,10 +18,14 @@ matrix:
16 - env: CABALVER=1.18 GHCVER=7.8.4 18 - env: CABALVER=1.18 GHCVER=7.8.4
17 compiler: ": #GHC 7.8.4" 19 compiler: ": #GHC 7.8.4"
18 addons: {apt: {packages: [cabal-install-1.18,ghc-7.8.4], sources: [hvr-ghc]}} 20 addons: {apt: {packages: [cabal-install-1.18,ghc-7.8.4], sources: [hvr-ghc]}}
19 - env: CABALVER=1.22 GHCVER=7.10.1 21 - env: CABALVER=1.22 GHCVER=7.10.2
20 compiler: ": #GHC 7.10.1" 22 compiler: ": #GHC 7.10.2"
21 addons: {apt: {packages: [cabal-install-1.22,ghc-7.10.1], sources: [hvr-ghc]}} 23 addons: {apt: {packages: [cabal-install-1.22,ghc-7.10.2], sources: [hvr-ghc]}}
22 24
25env:
26 global:
27 - GH_REF: github.com/jtanguy/hmacaroons.git
28 - secure: "ITyaZaTiQFOUQFN24wFWuo5sYuVJg6UQSJd28NpGdCJS9NOMk2ijZfDpY05+dug9TacmiALZ5Lt3Xlcx0pJSRkpYbG0AaB1k/52/D2LtOF13fDPAxHNbfvBRiUS4hk2LBl3SQFimYoTRNA/ssXvgjwehTB4ytkPgkLZu3rODin8="
23 29
24before_install: 30before_install:
25 - unset CC 31 - unset CC
@@ -71,10 +77,14 @@ script:
71 - cabal check 77 - cabal check
72 - cabal sdist # tests that a source-distribution can be generated 78 - cabal sdist # tests that a source-distribution can be generated
73 79
80 - bash ./scripts/pushdoc.sh
81
74# Check that the resulting source distribution can be built & installed. 82# Check that the resulting source distribution can be built & installed.
75# If there are no other `.tar.gz` files in `dist`, this can be even simpler: 83# If there are no other `.tar.gz` files in `dist`, this can be even simpler:
76# `cabal install --force-reinstalls dist/*-*.tar.gz` 84# `cabal install --force-reinstalls dist/*-*.tar.gz`
77 - SRC_TGZ=$(cabal info . | awk '{print $2;exit}').tar.gz && 85 - SRC_TGZ=$(cabal info . | awk '{print $2;exit}').tar.gz &&
78 (cd dist && cabal install --force-reinstalls "$SRC_TGZ") 86 (cd dist && cabal install --force-reinstalls "$SRC_TGZ")
79 87
88
89
80# EOF 90# EOF