git.iko.soy/typeable/hjsonschema
on master help sign in
Setup automated testing.
commit764ec2d30c9c4f92771b7ed28f502762e3d31ae2 authorMichael Alan Dorman <mdorman@ironicdesign.com> dateThu 30 Apr 2015, 11:13 (11 years ago) parent4694c21
1 file changed+28
.travis.yml+28
.travis.ymlnew file+28
@@ -0,0 +1,28 @@
1+language: haskell
2+
3+ghc:
4+ - 7.6
5+ - 7.8
6+
7+before_install:
8+ - cabal install alex happy
9+
10+notifications:
11+ email:
12+ - mdorman@jaunder.io
13+
14+script:
15+ - cabal configure --enable-tests
16+ - cabal test
17+ - cabal check
18+ - cabal sdist
19+
20+ # check that the generated source-distribution can be built & installed
21+ - export SRC_TGZ=$(cabal info . | awk '{print $2 ".tar.gz";exit}') ;
22+ cd dist/;
23+ if [ -f "$SRC_TGZ" ]; then
24+ cabal install "$SRC_TGZ";
25+ else
26+ echo "expected '$SRC_TGZ' not found";
27+ exit 1;
28+ fi