forked from buildsample/sample_php
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathshippable.yml
More file actions
48 lines (36 loc) · 1.13 KB
/
shippable.yml
File metadata and controls
48 lines (36 loc) · 1.13 KB
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
language: php
php:
#- 5.3
- 5.6
- 5.5
- 5.4
archive: true
before_install:
- source ~/.rvm/scripts/rvm && rvm use 1.9.3
env:
global:
- Foo=bar
- secure: c8Mhtx5/8SqzIQNgXwkvFfeVrib7lbzF9EgZFfETm2bPBtdaM2EyoVT8WlOdp/Ga3+RpmQzL3DmnWx+fppS790QrGnW3bdI6X8zi0EGRXxqP4YjCpxXkcg31RMEOoYamEu55vav/00tXGcN6I1OoQU+6dH+SQ+5qqdQQ5gFyf9JRvcg13b3+7YmQLLswUZq8MRkk0ifNEKRQy5+Fc3bPn9ePoR8rw3f0WOO4q1G9IgEUdmeV1wxdKcjMKu0wgixDjGgy5lABr12uh99EnLvN90Hjucg26ouRvfkICe4SvCEbFduIEL9IppVYyLo9io/in1iD7AoPZCOaXNz7OYg6eg==
before_script:
- mkdir -p shippable/codecoverage
- mkdir -p shippable/testresults
- printenv
- echo $test
script:
- phpunit --log-junit shippable/testresults/junit.xml --coverage-xml shippable/codecoverage tests/calculator_test.php
- git rev-parse --abbrev-ref HEAD
- echo $Foo
notifications:
email:
recipients:
- vidya@shippable.com
- buildsampletest@gmail.com
# - vidyac.raghav@gmail.com
on_success: always
on_failure: always
archive: true
branches:
except:
- shippable
- travis
- aa-testing/-1