Add Travis YML for Travis-CI support
Brendan Byrd [Wed, 20 Jun 2012 15:27:04 +0000 (11:27 -0400)]
   (See http://travis-ci.org/#!/SineSwiper/dbix-class/jobs/1665376)

.travis.yml [new file with mode: 0644]

diff --git a/.travis.yml b/.travis.yml
new file mode 100644 (file)
index 0000000..5a3fa47
--- /dev/null
@@ -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