Last active
December 25, 2015 14:39
-
-
Save flenter/6992234 to your computer and use it in GitHub Desktop.
wercker.yml for php with a yui compressor step
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
box: wercker/php | |
# Build definition | |
build: | |
# The steps that will be executed on build | |
steps: | |
# A custom script s tep, name value is used in the UI | |
# and the code value contains the command that get executed | |
- script: | |
name: echo php information | |
code: | | |
echo "php version $(php --version) running" | |
echo "from location $(which php)" | |
# Add more steps here: | |
#- script: | |
# name: run unit tests | |
# code: phpunit | |
after-steps: | |
- hipchat-notify: | |
token: $HIPCHAT_TOKEN | |
room-id: 199099 | |
from-name: Wercker | |
deploy: | |
steps: | |
- script: | |
name: simple ls step | |
code: | | |
ls -la | |
after-steps: | |
- hipchat-notify: | |
token: $HIPCHAT_TOKEN | |
room-id: 199099 | |
from-name: Wercker |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For minifying we can do the following changing the build steps from
to:
edit: Yui compressor doesn't like more than 1 layer of directories. compress step split into two steps.