forked from fisharebest/webtrees
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
35 lines (28 loc) · 788 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
php:
- 7.1
- 7.2
- 7.3
- 7.4snapshot
- nightly
## Non-sudo environments are faster
sudo: false
## Cache composer and vendor libraries
cache:
directories:
- vendor
- $HOME/.composer/cache
install:
- curl -s http://getcomposer.org/installer | php
- pecl install ast
- php composer.phar install --dev --no-interaction
before_script:
- travis_retry composer config github-oauth.github.com "${GITHUB_OAUTH_TOKEN}"
- echo "${TRAVIS_PHP_VERSION}"
script:
- mkdir -p build/logs
- vendor/bin/phpunit -c phpunit.xml.dist --coverage-clover tests/clover.xml
- vendor/bin/pahout --php-version=7.1.3 --ignore-paths=data --ignore-paths=vendor
- vendor/bin/phpcf --exclude=vendor .
after_script:
- travis_retry php vendor/bin/php-coveralls -v