forked from dbsrgits/sql-translator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (36 loc) · 792 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
language: perl
perl:
- "blead"
- "5.20"
- "5.18"
- "5.16"
- "5.14"
- "5.12"
- "5.10"
- "5.8"
env:
global:
- COVERAGE=1
- DBICTEST_PG_DSN=dbi:Pg:dbname=sqlt_test
- DBICTEST_PG_USER=postgres
matrix:
allow_failures:
- perl: "blead"
before_install:
- git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers
- source ~/travis-perl-helpers/init
- build-perl
- perl -V
- build-dist
- cd $BUILD_DIR # $BUILD_DIR is set by the build-dist command
install:
- cpan-install --deps XML::Parser DBD::Pg # Optional test deps
- cpan-install --coverage
before_script:
- psql -U postgres -c 'create database sqlt_test;'
- coverage-setup
script:
- perl Makefile.PL
- prove -lrsv $(test-dirs)
after_success:
- coverage-report