forked from fgerards/fluidcontent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (26 loc) · 804 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
language: php
sudo: false
env: COVERAGE="YES" TYPO3_VERSION=">=7.6.13, <7.6.99"
php:
- "7.0"
matrix:
include:
- php: "7.0"
env: COVERAGE="YES" TYPO3_VERSION="8.5.*"
- php: "7.1"
env: COVERAGE="NO" TYPO3_VERSION="8.5.*"
- php: "7.0"
env: COVERAGE="NO" TYPO3_VERSION="dev-master"
- php: "7.1"
env: COVERAGE="NO" TYPO3_VERSION="dev-master"
cache:
directories:
- $HOME/.composer/cache
install:
- composer require "typo3/cms:$TYPO3_VERSION"
- composer install --prefer-dist
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