-
Notifications
You must be signed in to change notification settings - Fork 20
/
.travis.yml
40 lines (32 loc) · 938 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
40
dist: trusty
sudo: false
language: php
php:
- 7.1
- 7.2
env:
- ILLUMINATE_VERSION=5.4.*
- ILLUMINATE_VERSION=5.5.*
- ILLUMINATE_VERSION=5.6.*
matrix:
fast_finish: true
include:
- php: 7.0
env: ILLUMINATE_VERSION=5.4.*
- php: 7.0
env: ILLUMINATE_VERSION=5.5.*
cache:
directories:
- $HOME/.composer/cache
before_install:
- travis_retry composer self-update
- travis_retry composer require "illuminate/database:${ILLUMINATE_VERSION}" --no-update
- travis_retry composer require "illuminate/support:${ILLUMINATE_VERSION}" --no-update
install:
- travis_retry composer update --no-interaction --prefer-dist $COMPOSER_ARGS
script:
- php vendor/bin/phpcs
- php vendor/bin/phpunit --coverage-clover=build/logs/clover.xml
after_success:
- travis_retry composer require php-coveralls/php-coveralls
- travis_retry php vendor/bin/php-coveralls --coverage_clover=build/logs/clover.xml -v