Skip to content

Commit

Permalink
Merge branch '1.0' into 1.1
Browse files Browse the repository at this point in the history
* 1.0:
  Update composer.lock
  Extend Travis build matrix & setup extra jobs running nightly
  • Loading branch information
pamil committed Dec 28, 2017
2 parents 648cd8d + 33a76d4 commit ac5db3b
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .travis.yml
Expand Up @@ -15,6 +15,15 @@ matrix:
php: 7.1
env:
- SYLIUS_SUITE="application"
- SYMFONY_VERSION="3.3.*"
services:
- memcached
-
if: type = cron
php: 7.1
env:
- SYLIUS_SUITE="application"
- SYMFONY_VERSION="3.4.*"
services:
- memcached
-
Expand All @@ -24,10 +33,19 @@ matrix:
apt:
packages:
- parallel
-
if: type = cron
php: 7.2
env:
- SYLIUS_SUITE="application"
- SYMFONY_VERSION="3.3.*"
services:
- memcached
-
php: 7.2
env:
- SYLIUS_SUITE="application"
- SYMFONY_VERSION="3.4.*"
services:
- memcached
-
Expand Down
3 changes: 3 additions & 0 deletions etc/travis/suites/application/before_install.sh
Expand Up @@ -5,3 +5,6 @@ source "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/../../../bash/application.

print_header "Activating memcached extension" "Sylius"
run_command "echo \"extension = memcached.so\" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini" || exit $?

print_header "Updating Composer" "Sylius"
run_command "composer self-update --preview"
1 change: 1 addition & 0 deletions etc/travis/suites/application/install.sh
Expand Up @@ -5,6 +5,7 @@ source "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/../../../bash/application.

print_header "Installing dependencies" "Sylius"
run_command "composer install --no-interaction --no-scripts --prefer-dist" || exit $?
run_command "composer require symfony/symfony:${SYMFONY_VERSION} --no-interaction --update-with-all-dependencies --prefer-dist" || exit $?

print_header "Warming up dependencies" "Sylius"
run_command "composer run-script travis-build --no-interaction" || exit $?
Expand Down

0 comments on commit ac5db3b

Please sign in to comment.