forked from Kdyby/Doctrine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (31 loc) · 1.07 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
language: php
env:
- NETTE=nette-2.3-dev
- NETTE=nette-2.3
- NETTE=nette-2.2
php:
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
matrix:
allow_failures:
- php: 7.0
- php: hhvm
before_install:
- composer self-update
install:
- mkdir -p vendor/bin
- wget -O vendor/bin/composer-nette https://raw.githubusercontent.com/Kdyby/TesterExtras/master/bin/composer-nette.php
- php vendor/bin/composer-nette
- composer install --no-interaction --prefer-source
before_script:
- composer create-project --prefer-source --no-interaction jakub-onderka/php-parallel-lint vendor/php-parallel-lint ~0.8
- php vendor/php-parallel-lint/parallel-lint.php -e php,phpt --exclude vendor .
- composer create-project --prefer-source --no-interaction nette/code-checker vendor/code-checker ~2.2
- php vendor/code-checker/src/code-checker.php -d src
- php vendor/code-checker/src/code-checker.php -d tests
script: vendor/bin/tester -p php -c ./tests/php.ini-unix ./tests/KdybyTests/
after_failure:
- 'for i in $(find ./tests -name \*.actual); do echo "--- $i"; cat $i; echo; echo; done'