-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
47 lines (38 loc) · 1.15 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
language: php
php:
- 7.3
cache:
directories:
- $HOME/.composer/cache/files
env:
global:
- PLUGIN_NAME=CakeLdap
- REQUIRE="anklimsk/cakephp-console-installer"
- DB=mysql
- CAKE_REF=2.x
- PHPUNIT=5.7.19
services:
- mysql
matrix:
include:
- php: 7.3
env:
- CODECOVERAGE=1
- php: 7.3
env:
- PHPCS=1
- PHPCS_IGNORE=CakeInstaller,CakeBasicFunctions,CakeExtendTest,CakeConfigPlugin,CakeTheme,AssetCompress,Bs3Helpers,Queue,Shim,Tools,Datasource
- php: 7.3
env:
- FOC_VALIDATE=1
before_script:
- git clone -b master https://github.com/anklimsk/travis.git --depth 1 ../travis
- travis_wait ../travis/before_script.sh
- if [ -f "../cakephp/app/Console/cake" ]; then ../cakephp/app/Console/cake CakeInstaller setsecurkey --yes --app $(cd ../cakephp/app; pwd); fi
- if [ -f "../cakephp/app/Plugin/CakeTheme/Config/asset_compress.local.ini" ]; then cp "../cakephp/app/Plugin/CakeTheme/Config/asset_compress.local.ini" "../cakephp/app/Config/asset_compress.ini"; fi
script:
- ../travis/script.sh
after_success:
- ../travis/after_success.sh
notifications:
email: false