Adding databse sample injection

This commit is contained in:
Jean-Marie Renouard 2018-09-22 05:34:57 +00:00
parent fe8a3e0e6e
commit a1f988da02

View file

@ -4,40 +4,39 @@ language: perl
perl:
- "5.24"
- "5.22"
- "5.20"
- "5.20"
- "5.18"
- "5.16"
- "5.14"
- "5.12"
- "5.10"
# - "5.8"
matrix:
include:
- addons:
mariadb: "5.5"
perl: "5.20"
perl: "5.24"
- addons:
mariadb: "10.0"
perl: "5.20"
perl: "5.24"
- addons:
mariadb: "10.1"
perl: "5.20"
perl: "5.24"
- addons:
mariadb: "10.2"
perl: "5.20"
perl: "5.24"
- addons:
mysql: "5.5"
perl: "5.20"
perl: "5.24"
- addons:
mysql: "5.6"
perl: "5.20"
perl: "5.24"
- addons:
mysql: "5.7"
perl: "5.20"
perl: "5.24"
- addons:
mysql: "8"
perl: "5.20"
perl: "5.24"
before_install:
- git clone git://github.com/haarg/perl-travis-helper
@ -54,7 +53,11 @@ install:
before_script:
- echo -e "[client]\nuser=root\npassword=\"\"" > .my.cnf
- chmod 600 .my.cnf
- wget "https://launchpad.net/test-db/employees-db-1/1.0.6/+download/employees_db-full-1.0.6.tar.bz2"
- tar xvjf employees_db-full-1.0.6.tar.bz2
- cd employees_db
- cat employees.sql | mysql
script:
- perlcritic --exclude InputOutput::ProhibitInteractiveTest mysqltuner.pl
- ./mysqltuner.pl --verbose --tbstat