Skip to content

Commit

Permalink
Added a .travis.yml (even though there's no Perl code to test yet.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Cross committed Jul 4, 2014
1 parent de1b830 commit 5ac0b00
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .travis.yml
@@ -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

0 comments on commit 5ac0b00

Please sign in to comment.