-
Notifications
You must be signed in to change notification settings - Fork 10
/
wercker.yml
61 lines (61 loc) · 1.9 KB
/
wercker.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
box: duythien/phalcon@1.2.7
no-response-timeout: 25
build:
steps:
- bundle-install
- script:
name: install dependencie
code: composer install
- script:
name: Serve application for integration tests
code: php -S localhost:8000 >> /dev/null &
- script:
name: PHPUnit integration tests
code: phpunit --configuration phpunit.xml
#- script:
# name: sass compile
#code: bundle exec sass --style compressed assets/scss/styles.scss:assets/css/styles.min.css --debug-info
# code: compass compile sass-test
#Code Style Check
- mbrevda/phpcs:
directory: src
standard: PSR2
ignore: tests
report: full
- script:
#name: my deploy
#code: ./deploy.sh
code: export
#send messages into hipchat
after-steps:
- hipchat-notify:
token: 515331b35c68161893f57ab564580f
room-id: 739722
from-name: wercker
- sherzberg/slack-notify:
subdomain: wercker
token: $SLACK_TOKEN
channel: general
deploy :
steps:
# Execute the s3sync deploy step, a step provided by wercker
- s3sync:
key_id: $AWS_ACCESS_KEY_ID
key_secret: $AWS_SECRET_ACCESS_KEY
bucket_url: $AWS_BUCKET_URL
source_dir: build/
- script:
name: backup
code: |-
rsync -avz "$WERCKER_SOURCE_DIR/" "$WERCKER_OUTPUT_DIR"
pwd
ls
after-steps:
- hipchat-notify:
token: 515331b35c68161893f57ab564580f
room-id: 739722
from-name: wercker
#- sherzberg/slack-notify:
#subdomain: wercker
#token: $SLACK_TOKEN
#channel: general