-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# This references a standard debian container from the | ||
# Docker Hub https://registry.hub.docker.com/_/debian/ | ||
# Read more about containers on our dev center | ||
# https://devcenter.wercker.com/overview-and-core-concepts/containers/ | ||
box: | ||
id: php | ||
# You can also use services such as databases. Read more on our dev center: | ||
# https://devcenter.wercker.com/administration/services/ | ||
# services: | ||
# - postgres | ||
# https://devcenter.wercker.com/administration/services/examples/postgresql/ | ||
|
||
# - mongo | ||
# https://devcenter.wercker.com/administration/services/examples/mongodb/ | ||
|
||
# This is the build pipeline. Pipelines are the core of wercker | ||
# Read more about pipelines on our dev center | ||
# https://devcenter.wercker.com/development/pipelines/ | ||
build: | ||
# Steps make up the actions in your pipeline | ||
# Read more about steps on our dev center: | ||
# https://devcenter.wercker.com/development/steps/ | ||
steps: | ||
- script: | ||
code: | | ||
env | ||
- install-packages: | ||
packages: git | ||
- script: | ||
name: PHP version | ||
code: php -v | ||
- script: | ||
name: install composer | ||
code: curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer | ||
- script: | ||
name: install dependencies | ||
code: composer update --no-interaction | ||
- script: | ||
name: dump current CI properties | ||
code: php dump-current.php |