Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
Showing
3 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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] |