Created
November 19, 2016 13:16
-
-
Save ssx/e818c3e65a0b896dd947677989c90cc5 to your computer and use it in GitHub Desktop.
.gitlab-ci.yml
This file contains hidden or 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
image: mnapoli/php7-cli | |
stages: | |
- test | |
- deploy | |
composer_tasks: | |
stage: test | |
script: | |
- composer self-update | |
- composer validate | |
- composer install | |
run_phpunit_tests: | |
stage: test | |
script: | |
- vendor/bin/phpunit | |
deploy_site: | |
stage: deploy | |
script: | |
- apt-get update && apt-get -y install curl | |
- curl -X POST --ipv4 https://some/url |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment