Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a .travis.yml (even though there's no Perl code to test yet.
- Loading branch information
Dave Cross
committed
Jul 4, 2014
1 parent
de1b830
commit 5ac0b00
Showing
1 changed file
with
24 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,24 @@ | ||
language: perl | ||
perl: | ||
- "5.18" | ||
- "5.16" | ||
- "5.14" | ||
|
||
env: TWITTELECT_DB_SERVER=localhost TWITTELECT_DB_NAME=twittelect TWITTELECT_DB_USER=travis TWITTELECT_DB_PASS='' | ||
|
||
before_script: | ||
- mysql -e 'create database twittelect;' | ||
- mysql -D twittelect < db/twittelect.sql | ||
|
||
install: | ||
- export RELEASE_TESTING=1 AUTOMATED_TESTING=1 AUTHOR_TESTING=1 HARNESS_OPTIONS=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 | ||
|