Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
39 lines (38 sloc) 960 Bytes
language: perl
perl:
- "5.14"
- "5.16"
- "5.18"
- "5.20"
- "5.22"
- "5.24"
- "5.26"
- "5.28"
sudo: false
services:
- mysql
before_install:
- git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers
- source ~/travis-perl-helpers/init
- build-perl
- perl -V
- build-dist
- cd $BUILD_DIR
install:
- cpan-install --deps
- cpanm --verbose --notest --installdeps .
- cpanm --notest DBD::Pg DBD::mysql
before_script:
- mysql -e 'create database interchange_test;'
script:
- perl Makefile.PL force=1 PREFIX=/home/travis/interchange
- make
- prove -rlv
- make install
- mkdir /home/travis/catalogs
- cp -r /home/travis/interchange/strap /home/travis/catalogs/
- mkdir /home/travis/catalogs/strap/logs
- cp -fv t/interchange-test/variable.txt /home/travis/catalogs/strap/products/
- cp -fv t/interchange-test/interchange.cfg /home/travis/interchange/
- cd /home/travis/interchange
- ./bin/restart
You can’t perform that action at this time.