Skip to content

Instantly share code, notes, and snippets.

@sluc23
Created April 23, 2020 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sluc23/f3021a9fb404353be025c838a2a7a088 to your computer and use it in GitHub Desktop.
Save sluc23/f3021a9fb404353be025c838a2a7a088 to your computer and use it in GitHub Desktop.
image:
name: composer:1.9.1
package:
before_script:
- composer config -g cache-dir "$(pwd)/.composer-cache"
script:
- composer install --ignore-platform-reqs --no-dev --optimize-autoloader --no-ansi --no-interaction --no-progress
- rm -rf .git .gitlab-ci.yml .gitignore
- rm -rf .composer-cache
cache:
paths:
- .composer-cache/
artifacts:
name: "$CI_PROJECT_NAME-$CI_COMMIT_TAG"
paths:
- .
only:
refs:
- tags
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment