[commit: packages/bytestring] 0.10.4.x, master: Add Travis-CI script (9ea13b7)
git at git.haskell.org
git at git.haskell.org
Fri Jan 23 22:41:51 UTC 2015
Repository : ssh://git@git.haskell.org/bytestring
On branches: 0.10.4.x,master
Link : http://git.haskell.org/packages/bytestring.git/commitdiff/9ea13b7eb457fb9b2e0d48ecf547e96ac7f847da
>---------------------------------------------------------------
commit 9ea13b7eb457fb9b2e0d48ecf547e96ac7f847da
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date: Mon Oct 21 16:38:17 2013 +0200
Add Travis-CI script
>---------------------------------------------------------------
9ea13b7eb457fb9b2e0d48ecf547e96ac7f847da
.travis.yml | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..367c274
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,40 @@
+# NB: don't set `language: haskell` here
+# See https://github.com/hvr/multi-ghc-travis for more information
+
+env:
+ - GHCVER=6.12.3
+# - GHCVER=7.0.1 # disabled due to internal GHC failure
+ - GHCVER=7.0.2
+ - GHCVER=7.0.3
+ - GHCVER=7.0.4
+ - GHCVER=7.2.1
+ - GHCVER=7.2.2
+ - GHCVER=7.4.1
+ - GHCVER=7.4.2
+ - GHCVER=7.6.1
+ - GHCVER=7.6.2
+ - GHCVER=7.6.3
+ - GHCVER=head
+
+matrix:
+ allow_failures:
+ - env: GHCVER=head
+
+before_install:
+ - sudo add-apt-repository -y ppa:hvr/ghc
+ - sudo apt-get update
+ - sudo apt-get install cabal-install-1.18 ghc-$GHCVER
+ - export PATH=/opt/ghc/$GHCVER/bin:$PATH
+
+install:
+ - cabal-1.18 update
+# can't use "cabal install --only-dependencies --enable-tests" due to dep-cycle
+ - cabal-1.18 install "QuickCheck >=2.4 && <3" "byteorder ==1.0.*" "dlist ==0.5.*" "mtl >=2.0 && <2.2" deepseq
+
+script:
+ - cabal-1.18 configure --enable-tests -v2
+ - cabal-1.18 build
+ - cabal-1.18 test
+# "cabal check" disabled due to -O2 warning
+# - cabal-1.18 check
+ - cabal-1.18 sdist
More information about the ghc-commits
mailing list