Skip to content

Commit f224c97

Browse files
committed
Added missing travis CI file
1 parent 052fae4 commit f224c97

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.travis.yml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# This file is part of the Kreta package.
2+
#
3+
# (c) Beñat Espiña <benatespina@gmail.com>
4+
# (c) Gorka Laucirica <gorka.lauzirika@gmail.com>
5+
#
6+
# For the full copyright and license information, please view the LICENSE
7+
# file that was distributed with this source code.
8+
9+
sudo: false
10+
11+
language: php
12+
13+
php:
14+
- 7.1
15+
16+
env:
17+
- COMPOSER_OPTIONS="--no-interaction --prefer-source"
18+
19+
before_install:
20+
- phpenv config-rm xdebug.ini
21+
- composer self-update
22+
23+
install:
24+
- composer install
25+
26+
script:
27+
- vendor/bin/phpspec run
28+
- vendor/bin/php-cs-fixer fix --config=.php_cs --diff --dry-run -v
29+
- vendor/bin/php-cs-fixer fix --config=.phpspec_cs --diff --dry-run -v
30+
31+
cache:
32+
directories:
33+
- $HOME/.composer/cache/files
34+
- $HOME/.php-cs-fixer
35+
36+
matrix:
37+
fast_finish: true
38+
include:
39+
php: 7.1

0 commit comments

Comments
 (0)