From 5ac0b00cc6743fe7143d4fa6bf2450b5ec5f7278 Mon Sep 17 00:00:00 2001 From: Dave Cross Date: Fri, 4 Jul 2014 13:22:56 +0100 Subject: [PATCH] Added a .travis.yml (even though there's no Perl code to test yet. --- .travis.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000000..2834f504a5 --- /dev/null +++ b/.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 +