travis ci wip

This commit is contained in:
resurtm
2016-12-20 20:58:43 +06:00
parent 1ffe4dda01
commit ef5cd776c5
3 changed files with 5 additions and 5 deletions

View File

@ -35,9 +35,9 @@ before_script:
# initialize database
- mysql -e 'CREATE DATABASE `yii2-usuario-test`;';
- mysql -e "CREATE USER 'user'@'localhost' IDENTIFIED WITH mysql_native_password;";
- mysql -e "GRANT ALL PRIVILEGES ON *.* TO 'user'@'localhost' WITH GRANT OPTION;";
- mysql -u user -p "yii2-usuario-test" < tests/data/schema.sql
- mysql -e "CREATE USER 'travis'@'localhost' IDENTIFIED WITH mysql_native_password;";
- mysql -e "GRANT ALL PRIVILEGES ON *.* TO 'travis'@'localhost' WITH GRANT OPTION;";
- mysql -u travis -p "yii2-usuario-test" < tests/data/schema.sql
script:
- composer validate --no-check-lock