Created
June 16, 2016 14:14
-
-
Save ramayac/676a21ff29cc727f20fe1506c3ce5b10 to your computer and use it in GitHub Desktop.
gitlab-ci.yml for Symfony, Test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cache: | |
key: "$CI_BUILD_REF" | |
paths: | |
- app/bootstrap.php.cache | |
- bin/ | |
- vendor/ | |
- var/cache/ | |
- var/logs/ | |
- web/bundles/ | |
before_script: | |
- clear | |
stages: | |
- build | |
- test | |
composerupdate: | |
stage: build | |
script: | |
#- "echo build_stage: $CI_BUILD_ID >> build" | |
- ls | |
- composer update | |
consoleclearcache: | |
dependencies: | |
- composerupdate | |
stage: test | |
script: | |
#- "echo build_stage: $CI_BUILD_ID >> build" | |
- pwd | |
- ls | |
- php app/console cache:clear --env=prod |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment