Skip to content

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
LucileDT authored May 3, 2021
1 parent 5c6f2a9 commit 4e4e9e0
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,11 @@ install:
- export PATH="$HOME/.symfony/bin:$PATH"
- composer install --no-interaction
- echo "USE mysql;\nSET PASSWORD FOR 'root'@'localhost' = PASSWORD('${MYSQL_PASSWORD}');\nFLUSH PRIVILEGES;\n" | mysql -u root
- echo "DATABASE_URL=mysql://root:${MYSQL_PASSWORD}@127.0.0.1:3306/structura" >> .env
- echo "DATABASE_URL=mysql://root:${MYSQL_PASSWORD}@127.0.0.1:3306/${DATABASE_NAME}" >> .env
- echo "MAILER_URL=null://localhost" >> .env
- echo "database_url=\"mysql://root:travis@127.0.0.1:3306/structura\"" >> .env
- echo "DATABASE_URL=mysql://root:${MYSQL_PASSWORD}@127.0.0.1:3306/structura" >> .env.test
- echo "database_url=\"mysql://${MYSQL_USER}:${MYSQL_PASSWORD}@127.0.0.1:3306/${DATABASE_NAME}\"" >> .env
- echo "DATABASE_URL=\"mysql://${MYSQL_USER}:${MYSQL_PASSWORD}@127.0.0.1:3306/${DATABASE_NAME}\"" >> .env.test
- echo "MAILER_URL=null://localhost" >> .env.test
- echo "database_url=\"mysql://root:[email protected]:3306/structura\"" >> .env.test
- cat .env 2>/dev/null
- cat .env.test 2>/dev/null
- cat phpunit.xml.dist
Expand Down

0 comments on commit 4e4e9e0

Please sign in to comment.