-
Notifications
You must be signed in to change notification settings - Fork 91
/
.travis.yml
49 lines (49 loc) · 1.03 KB
/
.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
37
38
39
40
41
42
43
44
45
46
47
48
49
sudo: false
addons:
apt:
packages:
- libgd2-xpm-dev
- graphviz
- libxml2-dev
language: perl
perl:
- "blead"
- "dev"
- "5.28"
- "5.26"
- "5.24"
- "5.22"
- "5.20"
- "5.18"
- "5.16"
- "5.14"
- "5.12"
- "5.10"
- "5.8"
env:
global:
- COVERAGE="coveralls codecov"
- DBICTEST_PG_DSN=dbi:Pg:dbname=sqlt_test
- DBICTEST_PG_USER=postgres
- SPLIT_BUILD=0
matrix:
allow_failures:
- perl: "blead"
- perl: "dev"
before_install:
- eval $(curl https://travis-perl.github.io/init) --perl
- cpan-install File::ShareDir::Install # absolute minimum for Makefile.PL
- perl Makefile.PL # generate deps
- cpan-install --deps # so can regen t/data/roundtrip_autogen.yaml
install:
- build-dist
- cd $BUILD_DIR
- $HELPERS_ROOT/bin/cpan-config
- cpan-install --deps CGI DBD::SQLite XML::Parser DBD::Pg # Optional test deps
- cpan-install --coverage
before_script:
- psql -U postgres -c 'create database sqlt_test;'
script:
- perl Makefile.PL && make test
services:
- postgresql