-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (33 loc) · 2.78 KB
/
.travis.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
language:
- php
- node_js
php:
- 7.1
cache:
directories:
- node_modules
install:
- npm install
script:
- composer install
- vendor/bin/phpunit --coverage-clover build/logs/clover.xml
after_success:
- vendor/bin/coveralls -v
- vendor/bin/phpcs -n --standard=PSR1,PSR2 src/
- vendor/bin/phpcbf src/
- ENVIRONMENT_NAME=$TRAVIS_BRANCH
- if [ "$TRAVIS_BRANCH" == "master" ]; then ENVIRONMENT_NAME=production; fi
deploy:
- provider: script
skip_cleanup: true
script: "./scripts/travis-deploy.sh $ENVIRONMENT_NAME"
on:
all_branches: true
condition: "$ENVIRONMENT_NAME =~ ^(development|qa|production)$"
after_deploy: echo 'Successfully executed deploy trigger for Checkin Request Service
on AWS'
env:
global:
- secure: DjOZJLMnAucjA0enco0BYibq0q0Y+jKP2cjKV94XrAZbi/EdkCSSyDnbUlZJCBT0agTph7mdih2n1x3zEkhNvkOwhVKp9XpdsfisUu4KrW6Qn3FK/RhWAphJwrWUjW7JLFd53VeXFfIgIpD4/begWpf5/CqKxixCDF0cm/LQwkF6zIf6xGLd3LqF0CYqsluUn1wTMOcGTQTQx3KWnAQIAbKXe+veQqbbYSs5U6uz4n5prVwwwkBmd+tTOivVzR2PY/8O29ZhegFNXo7h4brIT389ifJHFVuRwf7jMJeiHV9bYBJZG4Guitl9SK9VKxV9r+pcx/hOOAntuPC204C5h6jgBg0dTOS0rX2ctMWFuYumsCUrDJo/8qolczxbA0A5PmQSCYUeTiquFcsevtk2noGPYRF6s5C4hH8wkhU2n039Inr/3v4BzyCq1GanGS1EK1ZjbjIaqcoQ8VmlqdLVAc1uxFl/Pl4bHMhN8BVs0sFrmgbZk9WKz0FdpR7pL7l72xyr0+qnAFNl61sP72PYll91cXdcQhPggC85JTl4tpRksLmp80Qs+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