-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
59 lines (52 loc) · 1.58 KB
/
.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
dist: trusty
language: php
# This triggers builds to run on the new TravisCI infrastructure.
# See: http://docs.travis-ci.com/user/workers/container-based-infrastructure/
sudo: false
## Cache composer
cache:
directories:
- $HOME/.composer/cache
matrix:
include:
- php: 7.0
env: ILLUMINATE_VERSION=5.3.*
- php: 7.0
env: ILLUMINATE_VERSION=5.4.*
- php: 7.0
env: ILLUMINATE_VERSION=5.5.*
- php: 7.1
env: ILLUMINATE_VERSION=5.3.*
- php: 7.1
env: ILLUMINATE_VERSION=5.4.*
- php: 7.1
env: ILLUMINATE_VERSION=5.5.*
- php: 7.3
env: ILLUMINATE_VERSION=5.6.*
- php: 7.3
env: ILLUMINATE_VERSION=5.7.*
- php: 7.3
env: ILLUMINATE_VERSION=5.8.*
- php: 7.3
env: ILLUMINATE_VERSION=6.*
- php: 7.4
env: ILLUMINATE_VERSION=7.*
# instal our framework version
before_install:
- composer require "laravel/framework:${ILLUMINATE_VERSION}" --no-update
- composer require "laravel/laravel:${ILLUMINATE_VERSION}" --no-update
# composer create-project laravel/laravel
# install dependencies and build
install:
- composer update --prefer-source --no-interaction
script:
- composer test
# Disable PSR2 standards testing until we ready to revisit
# - vendor/bin/phpcs --standard=psr2 src/
# - vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
#after_script:
# - |
# if [[ "$TRAVIS_PHP_VERSION" != 'hhvm' && "$TRAVIS_PHP_VERSION" != '7.0' ]]; then
# wget https://scrutinizer-ci.com/ocular.phar
# php ocular.phar code-coverage:upload --format=php-clover coverage.clover
# fi