forked from redaxo/redaxo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
52 lines (46 loc) · 1.21 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
language: php
git:
depth: 3
branches:
only:
- master
- bugfix
cache:
directories:
- $HOME/.composer/cache
before_install:
- phpenv config-rm xdebug.ini || echo "xdebug not available"
jobs:
include:
- php: 5.5
env: LINTING=1
script: if find . -name "*.php" ! -path "*/vendor/*" -exec php -l {} 2>&1 \; | grep "syntax error, unexpected"; then exit 1; fi
- &TEST
install:
- mysql -e 'create database redaxo_5_0;'
- php redaxo/src/addons/tests/bin/setup.php
script: php redaxo/src/addons/tests/bin/run_tests.php
php: 7.0
env: DB=mariadb
addons:
mariadb: 10.1
- <<: *TEST
php: 7.3
addons:
mariadb: 10.2
- &TEST_MYSQL
<<: *TEST
php: 5.5
env: DB=mysql
addons: ~
- <<: *TEST_MYSQL
php: 5.6
- <<: *TEST_MYSQL
php: 7.0
- <<: *TEST_MYSQL
php: 7.1
- <<: *TEST_MYSQL
php: 7.2
- <<: *TEST_MYSQL
php: 7.3
sudo: required