-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
54 lines (45 loc) · 1.04 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
language: php
php:
- 5.6
- 7.1
services:
- mysql
env:
global:
- PLUGIN_NAME=MasterReplica
- REQUIRE=""
- DB=mysql
- COMPOSER_HOME=/home/travis/.composer
matrix:
- CAKE_REF=2.7.11
- CAKE_REF=2.8.9
- CAKE_REF=2.9.9
- CAKE_REF=2.10.18
matrix:
include:
- php: 7.2
env:
- USE_PHPUNIT_5=1
- CAKE_REF=2.10.18
- php: 7.3
env:
- USE_PHPUNIT_5=1
- CAKE_REF=2.10.18
- php: 7.3
env:
- USE_PHPUNIT_5=1
- CAKE_REF=2.10.18
- CODECOVERAGE=1
- php: 7.3
env:
- PHPCS=1
before_script:
- travis_wait ./travis_before_script.sh
script:
- ../travis/script.sh
after_success:
- if [ -f "../cakephp/app/clover.xml" ]; then cp ../cakephp/app/clover.xml ../cakephp/app/Plugin/$PLUGIN_NAME; fi
- if [ -d "../cakephp/app/Plugin/$PLUGIN_NAME" ]; then cd ../cakephp/app/Plugin/$PLUGIN_NAME; fi
- if [ "$CODECOVERAGE" == '1' ]; then wget -O codecov.sh https://codecov.io/bash; bash codecov.sh; fi
notifications:
email: false