8 # Deal with all of the dependancies, quickly and quietly
10 - export RELEASE_TESTING=1 AUTOMATED_TESTING=1 AUTHOR_TESTING=1 HARNESS_OPTIONS=j10:c HARNESS_TIMER=1
11 - perl Makefile.PL --alldeps
13 # Install modules that typically appear in more than one dep
14 - echo -e 'DBI\nMoo\nDateTime::Format::Strptime' | xargs -n 1 -P 10 cpanm --quiet --notest
16 # Superfast parallelized dependancy installs
17 - make listalldeps | xargs -n 6 -P 10 cpanm --quiet --notest
19 # DBICTEST extra database tests
21 # Install required DBDs
22 - echo -e 'DBD::Pg\nDBD::mysql\nSys::SigAction' | xargs -n 1 -P 10 cpanm --quiet --notest
24 # Set up DBICTEST vars
25 - export DBICTEST_PG_DSN='dbi:Pg:database=dbic_test;host=127.0.0.1' DBICTEST_PG_USER=postgres DBICTEST_PG_PASS=''
26 - export DBICTEST_MYSQL_DSN='dbi:mysql:database=dbic_test;host=127.0.0.1' DBICTEST_MYSQL_USER=root DBICTEST_MYSQL_PASS=''
27 ### Disabling for now until we figure out the weird Firebird test failure, and why DBD::Firebird doesn't install ###
28 #- export DBICTEST_FIREBIRD_DSN='dbi:Firebird:db=/var/lib/firebird/2.5/data/employee.fdb' DBICTEST_FIREBIRD_USER=SYSDBA DBICTEST_FIREBIRD_PASS=masterkey
30 # Set up databases for already-installed platforms
31 - mysql -e 'create database dbic_test;'
32 - psql -c 'create database dbic_test;' -U postgres
34 # Database install for Firebird
35 #- sudo apt-get -y install firebird2.5-super firebird2.5-examples
36 #- sudo perl -pi -e 's/\=no/=yes/;' /etc/default/firebird2.5
37 #- sudo /etc/init.d/firebird2.5-super start
38 #- cd /usr/share/doc/firebird2.5-examples/examples/empbuild/
39 #- sudo gunzip employee.fdb.gz
40 #- sudo chown firebird.firebird employee.fdb
41 #- sudo mv employee.fdb /var/lib/firebird/2.5/data/
45 # Override default to make sure we don't run Makefile.PL without --alldeps
48 # Uncomment for cpanm install failures
50 # - tail -100 /home/travis/.cpanm/build.log
55 - "irc.perl.org#dbic-smoke"
57 - "%{branch}#%{build_number} by %{author}: %{message} (%{build_url})"