MySQLTuner-perl/.travis.yml
Kovalkov Dmitrii a412c14995
Update travis
Exclude check InputOutput::ProhibitInteractiveTest.
InputOutput::ProhibitInteractiveTest need to add dependency IO::Interactive in script - This is not desirable
2018-07-06 21:10:56 +03:00

48 lines
875 B
YAML

sudo: false
language: perl
perl:
- "5.24"
- "5.22"
- "5.20"
- "5.18"
- "5.16"
- "5.14"
- "5.12"
- "5.10"
- "5.8"
matrix:
include:
- addons:
mariadb: "5.5"
perl: "5.20"
- addons:
mariadb: "10.0"
perl: "5.20"
- addons:
mariadb: "10.1"
perl: "5.20"
- addons:
mariadb: "10.2"
perl: "5.20"
before_install:
- git clone git://github.com/haarg/perl-travis-helper
- source perl-travis-helper/init
- build-perl
- perl -V
install:
- cpanm --quiet --notest Data::Dumper
- cpanm --quiet --notest JSON
- cpanm --quiet --notest Perl::Critic
- cpanm --quiet --notest Text::Template
before_script:
- echo -e "[client]\nuser=root\npassword=\"\"" > .my.cnf
- chmod 600 .my.cnf
script:
- perlcritic --exclude InputOutput::ProhibitInteractiveTest mysqltuner.pl
- ./mysqltuner.pl --idxstat --dbstat