forked from FluidTYPO3/flux
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (27 loc) · 855 Bytes
/
.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
language: php
sudo: false
matrix:
include:
- php: "7.1"
env: COVERAGE="NO" TYPO3_VERSION="^8.7"
- php: "7.2"
env: COVERAGE="NO" TYPO3_VERSION="^9"
- php: "7.2"
env: COVERAGE="NO" TYPO3_VERSION="dev-master"
- php: "7.3"
env: COVERAGE="NO" TYPO3_VERSION="^9"
- php: "7.4"
env: COVERAGE="YES" TYPO3_VERSION="^9"
allow_failures:
- env: COVERAGE="NO" TYPO3_VERSION="dev-master"
cache:
directories:
- $HOME/.composer/cache
install:
- composer require --no-update "typo3/cms-core:$TYPO3_VERSION"
- composer install
before_script: mkdir -p build/logs
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