forked from joomla/joomla-cms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
63 lines (56 loc) · 1.24 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
# Forces new Travis-CI Infrastructure
sudo: false
language: php
env:
global:
- RUN_UNIT_TESTS="yes"
- INSTALL_APCU="yes"
- INSTALL_MEMCACHED="yes"
- INSTALL_REDIS="yes"
matrix:
fast_finish: true
include:
# Requires older Precise image
- php: 5.3
env:
- INSTALL_APC="yes"
- INSTALL_APCU="no"
- INSTALL_MEMCACHE="yes"
sudo: true
dist: precise
# The new Trusty image has issues with running APC, do not enable it here
- php: 5.4
env:
- INSTALL_APCU="no"
- INSTALL_MEMCACHE="yes"
dist: trusty
- php: 5.5
env:
- INSTALL_MEMCACHE="yes"
dist: trusty
- php: 5.6
env:
- INSTALL_MEMCACHE="yes"
dist: trusty
- php: 7.0
- php: 7.1
- php: 7.2
- php: 7.3
- php: nightly
allow_failures:
- php: 7.3
- php: nightly
services:
- memcache
- memcached
- redis-server
- mysql
- postgresql
before_script:
# Make sure all dev dependencies are installed
- if [[ $RUN_UNIT_TESTS == "yes" ]]; then bash build/travis/unit-tests.sh $PWD; fi
script:
- if [[ $RUN_UNIT_TESTS == "yes" ]]; then libraries/vendor/bin/phpunit --configuration travisci-phpunit.xml; fi
branches:
except:
- 2.5.x