Skip to content

Commit

Permalink
tests: update travis.yml for mysql database
Browse files Browse the repository at this point in the history
- use the travis user instead of root to make the tests pass
  (maybe something has changed since travis is using Trusty as
  default distrib)
  • Loading branch information
remileduc committed Aug 2, 2017
1 parent 77c3c6a commit ef685ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ before_install:
- "requirements-builder --level=min setup.py > .travis-lowest-requirements.txt"
- "requirements-builder --level=pypi setup.py > .travis-release-requirements.txt"
- "requirements-builder --level=dev --req requirements-devel.txt setup.py > .travis-devel-requirements.txt"
- "mysql -e 'CREATE DATABASE IF NOT EXISTS travis;' -uroot"
- "mysql -e 'CREATE DATABASE IF NOT EXISTS travis; GRANT ALL ON travis.* TO 'travis';' -uroot"
- "psql -c 'CREATE DATABASE travis;' -U postgres"

install:
Expand Down

0 comments on commit ef685ba

Please sign in to comment.