Skip to content

Commit

Permalink
fixed ci configs
Browse files Browse the repository at this point in the history
  • Loading branch information
M. Peter committed Mar 17, 2017
1 parent cb9e9f4 commit d33a7b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ before_script:
- mysql -u root -e "CREATE USER 'world'@'127.0.0.1' IDENTIFIED BY 'world';"
- mysql -u root -e "GRANT CREATE, INSERT, SELECT, DELETE, UPDATE ON world.* TO 'world'@'127.0.0.1';"
- mysql -u root -e "CREATE USER 'other'@'localhost' IDENTIFIED BY 'supersecret';"
- mysql -u root -e "GRANT CREATE, INSERT, SELECT, DELETE, UPDATE ON other.* TO 'world'@'localhost';"
- mysql -u root -e "GRANT CREATE, INSERT, SELECT, DELETE, UPDATE ON world.* TO 'other'@'localhost';"
script:
- MIX_ENV=test mix test --trace
after_success:
Expand Down
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ environment:
# configurate mysql
before_test:
- SET PATH=%MYSQL_PATH%\bin;%PATH%
- mysqladmin --host=%MYSQL_HOST% --user=%MYSQL_USER% --password=%MYSQL_PASSWORD% "CREATE USER 'world'@'127.0.0.1' IDENTIFIED BY 'world'"
- mysqladmin --host=%MYSQL_HOST% --user=%MYSQL_USER% --password=%MYSQL_PASSWORD% "GRANT CREATE, INSERT, SELECT, DELETE, UPDATE ON world.* TO 'world'@'127.0.0.1';"
- mysql --host=%MYSQL_HOST% --user=%MYSQL_USER% --password=%MYSQL_PASSWORD% -e "CREATE USER 'world'@'127.0.0.1' IDENTIFIED BY 'world';"
- mysql --host=%MYSQL_HOST% --user=%MYSQL_USER% --password=%MYSQL_PASSWORD% -e "GRANT CREATE, INSERT, SELECT, DELETE, UPDATE ON world.* TO 'world'@'127.0.0.1';"

services:
- mysql
Expand Down

0 comments on commit d33a7b3

Please sign in to comment.