Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
test against travis and store coverage info
  • Loading branch information
Arthur Axel 'fREW' Schmidt committed Oct 19, 2013
1 parent 1c48160 commit 95524d7
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .travis.yml
@@ -0,0 +1,27 @@
language: perl
perl:
- "5.18"
- "5.16"
- "5.14"
- "5.12"
- "5.10"
- "5.8"

before_install:
- mysql -e 'create database dbii_test;'
- export DBIITEST_MYSQL_DSN='dbi:mysql:database=dbii_test;host=127.0.0.1'
- export DBIITEST_MYSQL_USER=root
- psql -c 'create database dbii_test;' -U postgres
- export DBIITEST_PG_DSN='dbi:Pg:database=dbii_test;host=127.0.0.1'
- export DBIITEST_PG_USER=postgres

install:
- export RELEASE_TESTING=1 AUTOMATED_TESTING=1 AUTHOR_TESTING=1 HARNESS_OPTIONS=j10:c HARNESS_TIMER=1
- cpanm --quiet --notest Devel::Cover::Report::Coveralls
- cpanm --quiet --notest --installdeps .

script:
- PERL5OPT=-MDevel::Cover=-coverage,statement,branch,condition,path,subroutine prove -lrsv t
- cover
after_success:
- cover -report coveralls
8 changes: 8 additions & 0 deletions cpanfile
@@ -0,0 +1,8 @@
requires 'DBI' => 1.628;
requires 'Moo' => 1.003001;

on test => sub {
requires 'Test::More' => 0.99;
requires 'Test::Roo' => 1.002;
requires 'DBD::SQLite' => 1.40;
};
16 changes: 16 additions & 0 deletions dist.ini
@@ -0,0 +1,16 @@
name = DBIx-Introspector
author = Arthur Axel "fREW" Schmidt <frioux+cpan@gmail.com>
license = Perl_5
copyright_holder = Arthur Axel "fREW" Schmidt
version = 1.000000

[NextRelease]
[@Git]
[@Basic]
[GithubMeta]
[MetaJSON]
[PodWeaver]
[OurPkgVersion]
[ReadmeFromPod]
[PodSyntaxTests]
[Prereqs::FromCPANfile]

0 comments on commit 95524d7

Please sign in to comment.