forked from FluidTYPO3/vhs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (32 loc) · 948 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
35
36
37
38
39
40
language: php
sudo: false
php:
- "7.0"
matrix:
include:
- php: "7.2"
env: COVERAGE="NO" TYPO3_VERSION="dev-master"
- 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.2"
env: COVERAGE="NO" TYPO3_VERSION="^9"
- php: "7.3"
env: COVERAGE="NO" TYPO3_VERSION="^9"
allow_failures:
- env: COVERAGE="NO" TYPO3_VERSION="dev-master"
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