forked from tecnickcom/tc-lib-pdf-font
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml.disable
65 lines (54 loc) · 1.39 KB
/
.travis.yml.disable
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
55
56
57
58
59
60
61
62
63
64
65
language: php
sudo: false
env:
- XDEBUG_MODE=coverage
branches:
only:
- main
php:
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3
- 7.4
- nightly
matrix:
allow_failures:
- php: nightly
include:
- os: linux
dist: trusty
language: php
php: 5.4
addons:
apt:
packages:
- devscripts
- fakeroot
- debhelper
- pkg-config
- alien
- rpm
- dh-make
- openssl
- mcrypt
before_install:
- composer self-update
- if [ -n "$GH_TOKEN" ]; then git config --global github.token ${GH_TOKEN} && composer config github-oauth.github.com ${GH_TOKEN}; fi;
- if [ -n "$GH_USER" ]; then git config --global github.user ${GH_USER}; fi;
before_script:
- composer install --no-interaction
- if [ "$TRAVIS_PHP_VERSION" = "7.4" ]; then composer require php-coveralls/php-coveralls --no-interaction; fi
- cd util && composer install --no-dev --no-interaction && ./bulk_convert.php && cd ..
script:
- make qa rpm deb
after_failure:
- cat ./target/logs/junit.xml
- cat ./target/report/phpcpd.txt
after_success:
- cat ./target/report/phploc.txt
- cat ./target/report/phpcompatinfo.txt
- "echo 'coverage_clover: target/coverage/coverage.xml' >> .coveralls.yml"
- "echo 'json_path: target/coverage/coveralls-upload.json' >> .coveralls.yml"
- if [ "$TRAVIS_PHP_VERSION" = "7.4" ]; then php vendor/php-coveralls/php-coveralls/bin/php-coveralls -v; fi;