forked from pear/pear-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
64 lines (61 loc) · 1.34 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
55
56
57
58
59
60
61
62
63
64
language: php
php:
- nightly
- 8.0
- 7.4
- 7.3
- 7.2
- 7.1
- 7.0
- 5.6
arch:
- amd64
jobs:
fast_finish: true
allow_failures:
- php: nightly
include:
- php: 5.5
dist: trusty
arch: amd64
- php: 5.4
dist: precise
arch: amd64
install:
- pear version
- pear list
- pear channel-update pear
- |
if [[ $TRAVIS_PHP_VERSION = 5* ]]; then
pear install -f pear-1.10.1
else
pear install -f pear-1.10.11
fi
- pear install text_diff
- pear list
- sh scripts/pear.sh config-set umask 0022
- sh scripts/pear.sh config-set umask 0022 system
- |
if [[ $TRAVIS_PHP_VERSION = 5.4 ]]; then
echo "Skipping composer install check."
else
composer install
fi
before_script:
- phpenv config-rm xdebug.ini
script:
- umask 0022
- sh scripts/pear.sh run-tests -q -d -r tests
- sh scripts/pear.sh package-validate package2.xml
- sh scripts/pear.sh package package2.xml
- sh scripts/pear.sh package-validate PEAR-*.tgz
- pear install --force package2.xml
- pear list
- pear install --force PEAR-*.tgz
- pear list
- pear upgrade --force archive_tar console_getopt structures_graph xml_util
- pear list
- sh scripts/pear.sh run-tests -q -d -r tests
- pear install --force php_archive
- pear list
- ./build-release.sh