forked from buildsample/sample_php_mysql
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathshippable.yml
More file actions
47 lines (36 loc) · 1.17 KB
/
shippable.yml
File metadata and controls
47 lines (36 loc) · 1.17 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
language: php
#build_image: shippable/minv2
php:
- 5.4
- 5.5
env:
global:
- foo="var"
matrix:
- secure: JJ2yWuhd4X6sx6gYdFITkl9ljfeceVoCagagRoYEPNmsmH1XwEG3yA7DAXFGUlVZr1iG8D89Gg7FE+mr0vwzsNbOrSYOHeeSLRKXysG4xNsSXzxZ550wkjjP9EqNKd8OTqM1iVJ0+tT0XAg1YAEM3mWvYGyBwjb7iO6dBMbuOeVWkpNkggfWorejr9T2SOyh80huRqaFd0evSBg2L9ZZgwlYBbibPp9FSNtlWUuRuiBz3xjetEPl//x4yKXLhO+81ObgLLurCSjjZECoZmdxjwjJPDdkz95Majy9PR7UomyDgnQmtYMRqAWpJLM0OrpKnnzphEPPqBUEOci1x2E2yQ==
- variable="aaa"
before_script:
- mkdir -p shippable/testresults
- mkdir -p shippable/codecoverage
- mysql -e 'drop database if exists test;'
- mysql -e "create database if not exists \`some-test\`;"
- mysql -ushippable -e "show variables like '%version';"
- echo $sec
script:
- echo $foo
- phpunit --log-junit shippable/testresults/junit.xml --coverage-xml shippable/codecoverage some-test.php
archive: true
notifications:
email:
- vidya@shippable.com
- buildsampletest@gmail.com
#cache: true
after_script:
- cp README.md ./shippable
- echo $variable
#after_success:
# - git push -f git@heroku.com:php-mysql-heroku-buildsample.git $BRANCH
#test
matrix:
exclude:
- php: 5.5