Skip to content

Instantly share code, notes, and snippets.

@hatchan
Created April 25, 2014 09:28
Show Gist options
  • Save hatchan/11283503 to your computer and use it in GitHub Desktop.
Save hatchan/11283503 to your computer and use it in GitHub Desktop.
Caching for composer
build:
steps:
- script:
name: enable composer cache
code: |
export COMPOSER_CACHE_DIR="$WERCKER_CACHE_DIR/composer"
mkdir -p $COMPOSER_CACHE_DIR
- script:
name: composer install
code: composer install --no-interaction
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment