-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.travis.yml
More file actions
42 lines (33 loc) · 855 Bytes
/
.travis.yml
File metadata and controls
42 lines (33 loc) · 855 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
42
# This file is part of the CS library.
#
# Copyright (c) 2015-present LIN3S <info@lin3s.com>
#
# For the full copyright and license information, please view the LICENSE
# file that was distributed with this source code.
#
# @author Beñat Espiña <benatespina@gmail.com>
sudo: false
language: php
php:
- 7.1
- 7.2
env:
- COMPOSER_OPTIONS="--no-interaction --prefer-source"
before_install:
- phpenv config-rm xdebug.ini
- composer self-update
install:
- composer install
script:
- vendor/bin/phpspec run
- vendor/bin/php-cs-fixer fix --config=.php_cs --diff --dry-run -v
- vendor/bin/php-cs-fixer fix --config=.phpspec_cs --diff --dry-run -v
cache:
directories:
- $HOME/.composer/cache/files
- $HOME/.php-cs-fixer
matrix:
fast_finish: true
include:
php: 7.1
php: 7.2