Skip to content

Commit

Permalink
Make packages build passing
Browse files Browse the repository at this point in the history
  • Loading branch information
pamil committed Apr 15, 2020
1 parent adcf83a commit 7b11178
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion bin/install-packages
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ reset_cache() {

install_package="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/install-package"

locate_packages | parallel -j "$(get_number_of_jobs_for_parallel)" --gnu "${install_package} {} $* $(reset_cache)"
locate_packages | parallel -j1 --gnu "${install_package} {} $* $(reset_cache)"
4 changes: 0 additions & 4 deletions etc/travis/suites/application/before_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +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 $?
run_command "echo \"memory_limit=6144M\" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini" || exit $?

print_header "Updating Composer" "Sylius"
run_command "composer self-update --preview"

# Download and configure Symfony webserver
print_header "Downloading Symfony CLI" "Sylius"
Expand Down
3 changes: 2 additions & 1 deletion etc/travis/suites/common/before_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ source "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/../../../bash/common.lib.s
print_header "Customizing the environment" "Sylius"
run_command "git fetch origin $TRAVIS_BRANCH:refs/remotes/origin/$TRAVIS_BRANCH" || exit $? # Make origin/master available for is_suitable steps
run_command "phpenv config-rm xdebug.ini" # Disable XDebug
run_command "echo \"memory_limit=4096M\" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini" || exit $? # Increase memory limit to 4GB
run_command "echo \"memory_limit=6144M\" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini" || exit $? # Increase memory limit to 4GB
run_command "composer self-update --stable"
run_command "mkdir -p \"${SYLIUS_CACHE_DIR}\"" || exit $? # Create Sylius cache directory
run_command "mkdir -p web/media/image" || exit $? # Create Sylius images directory

0 comments on commit 7b11178

Please sign in to comment.