Only output trigger 'scope' if it's set in YAML and JSON producers
[dbsrgits/SQL-Translator.git] / .travis.yml
CommitLineData
1094bd3d 1sudo: false
2addons:
3 apt:
4 packages:
5 - libgd2-xpm-dev
6 - graphviz
7 - libxml2-dev
ac217b39 8language: perl
9perl:
bb09ba5d 10 - "blead"
11 - "5.20"
12 - "5.18"
13 - "5.16"
14 - "5.14"
15 - "5.12"
16 - "5.10"
17 - "5.8"
5f80c676 18env:
bb09ba5d 19 global:
20 - COVERAGE=1
21 - DBICTEST_PG_DSN=dbi:Pg:dbname=sqlt_test
22 - DBICTEST_PG_USER=postgres
23matrix:
24 allow_failures:
25 - perl: "blead"
69b6a4fb 26before_install:
d5103d90 27 - eval $(curl https://travis-perl.github.io/init) --auto
ac217b39 28install:
20ac7e8e 29 - cpan-install --deps CGI DBD::SQLite XML::Parser DBD::Pg # Optional test deps
30 - cpan-install Test::EOL Test::NoTabs # Author test deps
60650d27 31 - cpan-install --coverage
06707e67 32before_script:
bb09ba5d 33 - psql -U postgres -c 'create database sqlt_test;'