-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
41 lines (41 loc) · 961 Bytes
/
.travis.yml
File metadata and controls
41 lines (41 loc) · 961 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
40
41
language: php
sudo: false
php:
- 7.2.2
# - 7.3.0
# - 7.4.0
- "nightly"
matrix:
fast_finish: true
allow_failures:
- php: "nightly"
os:
- windows
- linux
before_install:
- git clone --depth=1 git://github.com/zenovich/runkit.git
- cd runkit
- phpize
- ./configure
- make
- make install
- cd ../
- phpenv config-add optimize.php.ini
install:
- 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
before_script:
- mkdir -p build/logs
- ls -al
script:
- ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml
after_success:
- travis_retry php php-coveralls.phar -v
branches:
only: master
cache:
directories:
- vendor
- $HOME/.cache/composer