forked from FluidTYPO3/vhs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
49 lines (41 loc) · 1.3 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
language: php
sudo: false
php:
- "7.0"
matrix:
include:
- php: "7.0"
env: COVERAGE="NO" TYPO3_VERSION="^8.7"
- php: "7.1"
env: COVERAGE="NO" TYPO3_VERSION="^8.7"
- php: "7.2"
env: COVERAGE="YES" TYPO3_VERSION="^8.7"
- php: "7.3"
env: COVERAGE="NO" TYPO3_VERSION="^9"
- php: "7.4"
env: COVERAGE="NO" TYPO3_VERSION="^9"
- php: "7.4"
name: TYPO3 master
env: COVERAGE="NO" TYPO3_VERSION="dev-master"
- php: "7.4"
name: PHP notices
env: COVERAGE="NO" TYPO3_VERSION="^9" FORCE_ERROR_MODE="1039"
- php: "7.4"
name: PHP deprecations
env: COVERAGE="NO" TYPO3_VERSION="^9" FORCE_ERROR_MODE="24583"
allow_failures:
- env: COVERAGE="NO" TYPO3_VERSION="dev-master"
- env: COVERAGE="NO" TYPO3_VERSION="^9" FORCE_ERROR_MODE="1039"
- env: COVERAGE="NO" TYPO3_VERSION="^9" FORCE_ERROR_MODE="24583"
cache:
directories:
- $HOME/.composer/cache
before_script:
- mkdir -p build/logs
- export TYPO3_PATH_WEB=$PWD/build/web
install:
- composer require "typo3/cms-core:$TYPO3_VERSION"
script: if [[ "$COVERAGE" != "NO" ]]; then ./vendor/bin/phpunit --coverage-clover=build/logs/clover.xml; else ./vendor/bin/phpunit; fi
after_script:
- ln -s Classes src
- if [[ "$COVERAGE" != "NO" ]]; then ./vendor/bin/coveralls; fi