Adding databse sample injection
This commit is contained in:
parent
fe8a3e0e6e
commit
a1f988da02
1 changed files with 14 additions and 11 deletions
21
.travis.yml
21
.travis.yml
|
@ -10,34 +10,33 @@ perl:
|
||||||
- "5.14"
|
- "5.14"
|
||||||
- "5.12"
|
- "5.12"
|
||||||
- "5.10"
|
- "5.10"
|
||||||
# - "5.8"
|
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- addons:
|
- addons:
|
||||||
mariadb: "5.5"
|
mariadb: "5.5"
|
||||||
perl: "5.20"
|
perl: "5.24"
|
||||||
- addons:
|
- addons:
|
||||||
mariadb: "10.0"
|
mariadb: "10.0"
|
||||||
perl: "5.20"
|
perl: "5.24"
|
||||||
- addons:
|
- addons:
|
||||||
mariadb: "10.1"
|
mariadb: "10.1"
|
||||||
perl: "5.20"
|
perl: "5.24"
|
||||||
- addons:
|
- addons:
|
||||||
mariadb: "10.2"
|
mariadb: "10.2"
|
||||||
perl: "5.20"
|
perl: "5.24"
|
||||||
- addons:
|
- addons:
|
||||||
mysql: "5.5"
|
mysql: "5.5"
|
||||||
perl: "5.20"
|
perl: "5.24"
|
||||||
- addons:
|
- addons:
|
||||||
mysql: "5.6"
|
mysql: "5.6"
|
||||||
perl: "5.20"
|
perl: "5.24"
|
||||||
- addons:
|
- addons:
|
||||||
mysql: "5.7"
|
mysql: "5.7"
|
||||||
perl: "5.20"
|
perl: "5.24"
|
||||||
- addons:
|
- addons:
|
||||||
mysql: "8"
|
mysql: "8"
|
||||||
perl: "5.20"
|
perl: "5.24"
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- git clone git://github.com/haarg/perl-travis-helper
|
- git clone git://github.com/haarg/perl-travis-helper
|
||||||
|
@ -54,6 +53,10 @@ install:
|
||||||
before_script:
|
before_script:
|
||||||
- echo -e "[client]\nuser=root\npassword=\"\"" > .my.cnf
|
- echo -e "[client]\nuser=root\npassword=\"\"" > .my.cnf
|
||||||
- chmod 600 .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:
|
script:
|
||||||
- perlcritic --exclude InputOutput::ProhibitInteractiveTest mysqltuner.pl
|
- perlcritic --exclude InputOutput::ProhibitInteractiveTest mysqltuner.pl
|
||||||
|
|
Loading…
Reference in a new issue