From de822d0232e5899f0eebbdb085d688b373f2b1b1 Mon Sep 17 00:00:00 2001 From: Dean Hamstead Date: Mon, 14 May 2018 18:06:37 +1000 Subject: [PATCH] Try to fire up an RT via docker on travis --- .travis.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.travis.yml b/.travis.yml index db11c1b..040c40c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,8 @@ sudo: required language: perl os: - linux +servives: + - docker perl: - 'blead' - '5.26' @@ -16,6 +18,9 @@ perl: - '5.10' - '5.8' env: + - RT_VERSION=4.0 + - RT_VERSION=4.2 + - RT_VERSION=4.4 global: - AUTHOR_TESTING=1 - AUTOMATED_TESTING=1 @@ -29,6 +34,7 @@ matrix: - perl: '5.26' env: COVERAGE=1 before_install: + - docker pull netsandbox/request-tracker:$RT_VERSION - git config --global user.name "TravisCI" - git config --global user.email $HOSTNAME":not-for-mail@travis-ci.org" - git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers @@ -38,6 +44,7 @@ before_install: - build-dist - cd $BUILD_DIR install: + - docker run -it --rm --name rt -p 8080:80 netsandbox/request-tracker:$RT_VERSION - perl -M5.014 -e1 2>/dev/null || cpan-install Dist::Zilla@5.047 - cpan-install --deps # - cpanm --quiet --notest --skip-satisfied Dist::Zilla