Skip to content

Commit 0145ff4

Browse files
committed
.travis.yml: grant access to mystamps database to travis user.
Addressed to #612
1 parent 74e086e commit 0145ff4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ before_script:
1212
- set -o errexit # exit immediately when commands return a non-zero status
1313
- if [ "$SPRING_PROFILES_ACTIVE" = 'travis' ]; then
1414
mysql -u root -e 'CREATE DATABASE mystamps CHARACTER SET utf8;';
15+
mysql -u root -e 'GRANT ALL PRIVILEGES ON mystamps@* TO travis@%;';
1516
mkdir -p /tmp/uploads /tmp/preview;
1617
cp src/main/resources/test/test.png /tmp/uploads/1.png;
1718
if [ "$TRAVIS_BRANCH" = 'prod' -a "$TRAVIS_PULL_REQUEST" = 'false' ]; then

0 commit comments

Comments
 (0)