Skip to content

Commit

Permalink
bug #10280 [Travis] Update mysql version to speed up builds (Zales0123)
Browse files Browse the repository at this point in the history
This PR was merged into the 1.3 branch.

Discussion
----------

| Q               | A
| --------------- | -----
| Branch?         | 1.3
| Bug fix?        | yes
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | 
| License         | MIT

Since merging #10278 Travis jobs takes up to 50 minutes and are closed due to reaching a public repository job time limit :/ I don't know is it an issue with the mySQL version for 100%, but I think we should give it a try (check out travis-ci/travis-ci#9948). I hope it will work, as 50 minutes-long jobs are really painful 🔪 💀 


Commits
-------

57f01f0 [Travis] Update mysql version to speed up builds
  • Loading branch information
Zales0123 authored Apr 1, 2019
2 parents 8f5198a + 57f01f0 commit 0960692
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ matrix:
apt:
packages:
- parallel
-
-
php: 7.2
env:
- SYLIUS_SUITE="packages"
Expand Down
2 changes: 2 additions & 0 deletions etc/travis/suites/application/before_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
source "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/../../../bash/common.lib.sh"
source "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/../../../bash/application.sh"

run_command "sudo mysql_upgrade"

print_header "Setting the application up" "Sylius"
run_command "bin/console doctrine:database:create --env=test_cached -vvv" || exit $? # Have to be run with debug = true, to omit generating proxies before setting up the database
run_command "APP_DEBUG=1 bin/console cache:warmup --env=dev -vvv" || exit $? # For PHPStan
Expand Down

0 comments on commit 0960692

Please sign in to comment.