-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
48 lines (39 loc) · 1.13 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
---
language: php
cache:
directories:
- $HOME/.composer/cache/files
php:
- nightly
- 7.3
- 7.2
- 7.1
- 7.0
matrix:
fast_finish: true
allow_failures:
- php: nightly
- php: 7.3
before_install:
- go get -u github.com/jingweno/ccat
# Disabling Xdebug - Debugger and Profiler Tool for PHP
- |
php -r "print_r(get_loaded_extensions(TRUE));"
if [ -f ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini ]; then
cat ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini
install --directory ~/.phpenv/versions/$(phpenv version-name)/etc/on-demand
mv ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini ~/.phpenv/versions/$(phpenv version-name)/etc/on-demand
php -r "print_r(get_loaded_extensions(TRUE));"
fi
install:
# - composer install
script:
- (! composer install)
after_script:
- ls --color
- composer show --latest
- $GOPATH/bin/ccat composer.json
- $GOPATH/bin/ccat config/packages/doctrine.yaml
- composer require --no-scripts sensiolabs/security-checker
- composer security:check -- --end-point=http://security.sensiolabs.org/check_lock --ansi
- $GOPATH/bin/ccat composer.json