-
-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy path.travis.yml
79 lines (67 loc) · 1.97 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
language: php
php:
- "7.3"
- "7.4"
- "8.0"
- "nightly"
env:
- TYPO3=^9.5 DB=mysql
- TYPO3=^10.4 DB=mysql
jobs:
fast_finish: true
allow_failures:
- php: "8.0"
- php: nightly
- php: hhvm
- env: TYPO3=~11.0 DB=mysql
- env: TYPO3=dev-master DB=mysql
include:
- php: "7.2"
env: TYPO3=^9.5 DB=mysql
- php: "7.4"
env: TYPO3=~11.0 DB=mysql
- php: "8.0"
env: TYPO3=~11.0 DB=mysql
- php: "7.4"
env: TYPO3=dev-master DB=mysql
- php: "8.0"
env: TYPO3=dev-master DB=mysql
services:
- mysql
os: linux
## Cache composer bits
cache:
directories:
- $HOME/.composer/cache
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/a4154f7992654c2bb540
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always
before_install:
# We don't need xdebug right now
- phpenv config-rm xdebug.ini || echo "xdebug.ini not removed";
before_script:
# - if [[ "$DB" == "mysql" || "$DB" == "mariadb" ]]; then mysql -e "CREATE DATABASE typo3;"; fi
# - if [[ "$DB" == "mysql" || "$DB" == "mariadb" ]]; then mysql -e "GRANT ALL PRIVILEGES ON typo3.* to travis@'%';"; fi
- >
export typo3DatabaseName="typo3";
export typo3DatabaseHost="127.0.0.1";
export typo3DatabaseUsername="root";
export typo3DatabasePassword="";
- composer require typo3/minimal=$TYPO3 --no-update;
- composer update;
# bash Build/install.sh;
## Remove the local PHPUnit so it doesn't get mixed up with the one from TYPO3 core
#- composer remove phpunit/phpunit --dev && composer update
script:
- >
export typo3DatabaseName="typo3";
export typo3DatabaseHost="127.0.0.1";
export typo3DatabaseUsername="root";
export typo3DatabasePassword="";
export CHECK_MYSQL_CREDENTIALS="no";
export MANUAL_TESTS="no";
bash Build/test.sh -- -v;