Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added a .travis.yml (even though there's no Perl code to test yet.

  • Loading branch information...
commit 5ac0b00cc6743fe7143d4fa6bf2450b5ec5f7278 1 parent de1b830
@davorg authored
Showing with 24 additions and 0 deletions.
  1. +24 −0 .travis.yml
View
24 .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
+
Please sign in to comment.
Something went wrong with that request. Please try again.