Add Travis YML for Travis-CI support
[dbsrgits/DBIx-Class.git] / .travis.yml
1 language: perl
2 perl:
3    - "5.14"
4    - "5.12"
5    - "5.10"
6
7 ### TODO: Add in all of the various databases that Travis has access to,
8 ###       and set the DBICTEST_*_DSN, _USER, _PASS env variables.
9 ###    MySQL, PostgreSQL, Firebird, SQL Anywhere
10
11 install:
12    # Deal with all of the dependancies, quickly and quietly
13    - cpanm --quiet --notest Module::Install
14    - perl Makefile.PL --alldeps
15    - make listalldeps | cpanm --quiet --notest
16    
17    ### FIXME: Development releases need a nicer way of installing ###
18    - cpanm FREW/SQL-Abstract-1.73_01.tar.gz
19 script:
20    # Make sure we don't run Makefile.PL without --alldeps
21    - make test
22
23 # whitelist
24 branches:
25    only:
26      - master
27
28 notifications:
29    irc: "irc.perl.org#dbix-class"
30