Skip to content

Commit 7cc8cfc

Browse files
committed
Merge pull request #113 from noplanman/travis_php7
Since PHP 7 is officially out, make travis test it properly.
2 parents ad39afc + e6576da commit 7cc8cfc

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

.travis.yml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
sudo: false
2+
13
language: php
24

35
php:
@@ -6,7 +8,17 @@ php:
68
- 7.0
79
- hhvm
810

9-
sudo: false
11+
matrix:
12+
allow_failures:
13+
- php: hhvm
14+
fast_finish: true
15+
16+
notifications:
17+
on_success: never
18+
on_failure: always
19+
20+
git:
21+
depth: 1
1022

1123
before_install:
1224
- composer self-update
@@ -19,15 +31,4 @@ before_script:
1931

2032
script:
2133
- vendor/bin/phpunit
22-
- sh -c "if [ '$TRAVIS_PHP_VERSION' != '7.0' ]; then vendor/bin/phpcs --report=full --extensions=php -np --standard=build/phpcs .; fi"
23-
24-
matrix:
25-
allow_failures:
26-
- php: hhvm
27-
- php: 7.0
28-
fast_finish: true
29-
30-
31-
notifications:
32-
on_success: never
33-
on_failure: always
34+
- vendor/bin/phpcs --report=full --extensions=php -np --standard=build/phpcs .

0 commit comments

Comments
 (0)