forked from TYPO3/Surf
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
39 lines (32 loc) · 692 Bytes
/
Copy path.travis.yml
File metadata and controls
39 lines (32 loc) · 692 Bytes
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
language: php
php:
- 5.5
- 5.6
- 7
sudo: false
cache:
directories:
- $HOME/.composer/cache
addons:
apt:
packages:
- parallel
notifications:
email:
- helmut@typo3.org
before_install:
- composer self-update
- composer --version
- if [ "$GITHUB_COMPOSER_AUTH" ]; then composer config -g github-oauth.github.com $GITHUB_COMPOSER_AUTH; fi
before_script:
- phpenv config-rm xdebug.ini
- composer install
script:
- >
echo;
echo "Running unit tests";
vendor/bin/phpunit Tests/Unit/
- >
echo;
echo "Running php lint";
find . -name \*.php ! -path "./vendor/*" | parallel --gnu php -d display_errors=stderr -l {} > /dev/null \;