-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
executable file
·50 lines (39 loc) · 1009 Bytes
/
.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
---
##
# This file is part of the `src-run/serferals` project.
#
# (c) Rob Frawley 2nd <rmf@src.run>
#
# For the full copyright and license information, view the LICENSE.md
# file distributed with this source code.
##
# php enviornment
language : php
# advise travis we support new container-based env
sudo : false
# build against php 5.6.x and 7.0.x engines
php :
- 5.6
- 7.0
# set a sane clone depth for git
git :
depth : 3
# custom hostname
addons :
hosts :
- mainline.src.run
# enable the build-reqs script via required env var
env :
global :
- build_package=true
# install system environment and application requirements
install :
- bash .run/builders/build-reqs/build-reqs.bash up-env
- bash .run/builders/build-reqs/build-reqs.bash up-app
# go: run unit tests!
script : bin/phpunit -vvv
# run post-operations (coverage submission, etc)
after_script :
- bash .run/builders/build-reqs/build-reqs.bash dn-app
- bash .run/builders/build-reqs/build-reqs.bash dn-env
...