Skip to content

Commit

Permalink
travis: added PHP 7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Jul 21, 2016
1 parent 36148c1 commit 7981e33
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ language: php
php:
- 5.6
- 7.0
- 7.1

env:
- PHP_BIN=php
Expand All @@ -14,6 +15,9 @@ matrix:
- php: 7.0
env: coverage="--coverage ./coverage.xml --coverage-src ./src" PHP_BIN=phpdbg

allow_failures:
- php: 7.1

script:
- vendor/bin/tester -p $PHP_BIN tests -s $coverage
- php temp/code-checker/src/code-checker.php --short-arrays
Expand Down
2 changes: 1 addition & 1 deletion tests/Http/Session.start.error.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ $session = new Session(new Nette\Http\Request(new Nette\Http\UrlScript), new Net

Assert::exception(function () use ($session) {
$session->start();
}, Nette\InvalidStateException::class, '%a?%open(%A%) failed: %a%');
}, Nette\InvalidStateException::class);

0 comments on commit 7981e33

Please sign in to comment.