forked from quizlet/paratest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (31 loc) · 772 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
36
37
38
39
language: php
sudo: false
php:
- 5.5
- 5.6
- 7.0
- hhvm
cache:
directories:
- $HOME/.composer/cache
matrix:
fast_finish: true
allow_failures:
- env: PHPUNIT_VERSION='*@dev'
exclude:
- php: 5.5
env: PHPUNIT_VERSION='5.*@stable'
env:
- PHPUNIT_VERSION='3.7.*@stable'
- PHPUNIT_VERSION='4.*@stable'
- PHPUNIT_VERSION='5.*@stable'
- PHPUNIT_VERSION='*@dev'
before_script:
- composer self-update
- composer require --no-update phpunit/phpunit=$PHPUNIT_VERSION
- composer install --prefer-dist
script:
- vendor/bin/phpunit --coverage-clover=coverage.clover
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover