-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
33 lines (33 loc) · 825 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
language: php
sudo: required
dist: trusty
php:
- 7.2
- master
- nightly
matrix:
fast_finish: true
allow_failures:
- php: master
- php: nightly
os:
- windows
- linux
install:
- travis_retry validate install --no-interaction
- travis_retry composer install --no-interaction
- wget -c -nc --retry-connrefused --tries=0 https://github.com/php-coveralls/php-coveralls/releases/download/v2.0.0/php-coveralls.phar
- chmod +x php-coveralls.phar
- php php-coveralls.phar --version
after_success:
- travis_retry php php-coveralls.phar -v
before_script:
- mkdir -p build/logs
- ls -al
script:
- ./vendor/bin/phpunit --coverage-clover ./build/logs/clover.xml
- ./vendor/bin/psalm
cache:
directories:
- vendor
- $HOME/.cache/composer