diff options
author | Julien Tanguy <julien.tanguy@jhome.fr> | 2015-09-05 02:14:47 +0200 |
---|---|---|
committer | Julien Tanguy <julien.tanguy@jhome.fr> | 2015-09-05 02:14:47 +0200 |
commit | 6f7c6d5a22aec4c237f00bae8f27a3877419537b (patch) | |
tree | 9a619388573bb4238d919014051f9a67b7bc41b0 /.travis.yml | |
parent | 3e886a657890184823722fbcbf126bfa4a0f0404 (diff) | |
download | hmacaroons-6f7c6d5a22aec4c237f00bae8f27a3877419537b.tar.gz hmacaroons-6f7c6d5a22aec4c237f00bae8f27a3877419537b.tar.zst hmacaroons-6f7c6d5a22aec4c237f00bae8f27a3877419537b.zip |
Make travis push haddock to gh-pages
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 16 |
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 @@ | |||
2 | language: c | 2 | language: c |
3 | sudo: false | 3 | sudo: false |
4 | 4 | ||
5 | |||
6 | |||
5 | cache: | 7 | cache: |
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 | ||
25 | env: | ||
26 | global: | ||
27 | - GH_REF: github.com/jtanguy/hmacaroons.git | ||
28 | - secure: "ITyaZaTiQFOUQFN24wFWuo5sYuVJg6UQSJd28NpGdCJS9NOMk2ijZfDpY05+dug9TacmiALZ5Lt3Xlcx0pJSRkpYbG0AaB1k/52/D2LtOF13fDPAxHNbfvBRiUS4hk2LBl3SQFimYoTRNA/ssXvgjwehTB4ytkPgkLZu3rODin8=" | ||
23 | 29 | ||
24 | before_install: | 30 | before_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 |