From: Brendan Byrd Date: Wed, 20 Jun 2012 15:27:04 +0000 (-0400) Subject: Add Travis YML for Travis-CI support X-Git-Tag: v0.08197~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=915876d74ba664c9dd5aa292699a5fb4b66c48ff;p=dbsrgits%2FDBIx-Class.git Add Travis YML for Travis-CI support (See http://travis-ci.org/#!/SineSwiper/dbix-class/jobs/1665376) --- diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..5a3fa47 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,30 @@ +language: perl +perl: + - "5.14" + - "5.12" + - "5.10" + +### TODO: Add in all of the various databases that Travis has access to, +### and set the DBICTEST_*_DSN, _USER, _PASS env variables. +### MySQL, PostgreSQL, Firebird, SQL Anywhere + +install: + # Deal with all of the dependancies, quickly and quietly + - cpanm --quiet --notest Module::Install + - perl Makefile.PL --alldeps + - make listalldeps | cpanm --quiet --notest + + ### FIXME: Development releases need a nicer way of installing ### + - cpanm FREW/SQL-Abstract-1.73_01.tar.gz +script: + # Make sure we don't run Makefile.PL without --alldeps + - make test + +# whitelist +branches: + only: + - master + +notifications: + irc: "irc.perl.org#dbix-class" + \ No newline at end of file