user before_script stage for creating .my.cnf file
This commit is contained in:
parent
c18a52c22b
commit
9db37f762b
1 changed files with 4 additions and 3 deletions
|
@ -37,8 +37,9 @@ install:
|
||||||
- cpanm --quiet --notest Data::Dumper
|
- cpanm --quiet --notest Data::Dumper
|
||||||
- cpanm --quiet --notest Text::Template
|
- cpanm --quiet --notest Text::Template
|
||||||
- cpanm --quiet --notest JSON
|
- cpanm --quiet --notest JSON
|
||||||
|
|
||||||
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
|
||||||
- ./mysqltuner.pl --idxstat --dbstat
|
|
||||||
|
script: ./mysqltuner.pl --idxstat --dbstat
|
||||||
|
|
Loading…
Reference in a new issue