File tree Expand file tree Collapse file tree 3 files changed +23
-18
lines changed Expand file tree Collapse file tree 3 files changed +23
-18
lines changed Original file line number Diff line number Diff line change 1
- # Travis CI (MIT License) configuration file
2
- # @link https://travis-ci.org/
1
+ # Travis CI
3
2
4
3
# Use new container based environment
5
4
sudo : false
6
5
7
6
# Declare project language.
8
- # @link http://about.travis-ci.org/docs/user/languages/php/
9
7
language : php
10
8
11
9
env :
@@ -40,16 +38,18 @@ matrix:
40
38
# - php: 'nightly'
41
39
42
40
before_install :
43
- # Remove xdebug.
41
+ # Remove xdebug. Needed for coverage.
44
42
# - phpenv config-rm xdebug.ini
45
- # Update composer to latest version
46
- # - composer self-update
43
+
44
+ install :
45
+ # Update composer to latest version.
46
+ - composer self-update
47
47
# Install project composer deps in composer.json
48
- - composer install
49
- # Install composer deps in composer.json.
50
- # - composer require squizlabs/php_codesniffer:dev-master
51
- # - composer require satooshi/ php-coveralls:dev-master
52
- - phpenv rehash
48
+ - composer install --no-interaction
49
+
50
+ before_script :
51
+ # Rehash the php environment if testing on several PHP versions.
52
+ # - phpenv rehash
53
53
54
54
script :
55
55
# Check for PHP syntax errors.
@@ -64,4 +64,4 @@ script:
64
64
- ./vendor/bin/phpunit --debug --filter $STANDARD
65
65
66
66
after_success :
67
- - if [[ "$COVERALLS" == "1" ]]; then ./vendor/bin/coveralls -v -x ./build/logs/clover.xml; fi
67
+ - if [[ "$COVERALLS" == "1" ]]; then ./vendor/bin/coveralls -v -x ./build/logs/coverage/clover/ clover.xml; fi
Original file line number Diff line number Diff line change 15
15
<exclude-pattern >*/*.js</exclude-pattern >
16
16
<exclude-pattern >*/*.xml</exclude-pattern >
17
17
<exclude-pattern >*/autoload.php</exclude-pattern >
18
- <exclude-pattern >*/app/ Middleware/*</exclude-pattern >
19
- <exclude-pattern >*/app/ Console/Kernel.php</exclude-pattern >
20
- <exclude-pattern >*/app/ Exceptions/Handler.php</exclude-pattern >
21
- <exclude-pattern >*/app/ Http/Kernel.php</exclude-pattern >
22
- <exclude-pattern >*/app/ Providers/*</exclude-pattern >
18
+ <exclude-pattern >*/Middleware/*</exclude-pattern >
19
+ <exclude-pattern >*/Console/Kernel.php</exclude-pattern >
20
+ <exclude-pattern >*/Exceptions/Handler.php</exclude-pattern >
21
+ <exclude-pattern >*/Http/Kernel.php</exclude-pattern >
22
+ <exclude-pattern >*/Providers/*</exclude-pattern >
23
23
<!-- Include the whole PSR-2 standard -->
24
24
<rule ref =" PSR2" />
25
25
<!--
Original file line number Diff line number Diff line change @@ -130,7 +130,12 @@ Set it to your preference.
130
130
"*/*.css",
131
131
"*/*.js",
132
132
"*/*.xml",
133
- "*/autoload.php"
133
+ "*/autoload.php",
134
+ "*/Middleware/*",
135
+ "*/Console/Kernel.php",
136
+ "*/Exceptions/Handler.php",
137
+ "*/Http/Kernel.php",
138
+ "*/Providers/*"
134
139
],
135
140
}
136
141
}
You can’t perform that action at this time.
0 commit comments