-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use POST for all requests instead of GET (#27)
* change all requests to use post instead of get * confirm content-type header is set * add performance tests back into travis * try difference versions for prefer-lowest * make expect Exception version generic * fix prefer-lowest tests * some timezone stuff * ignore hhvm errors * call child setUp, always use UTC in testing
- Loading branch information
Harry Bragg
authored
Oct 16, 2017
1 parent
915aa4d
commit b9392e8
Showing
17 changed files
with
1,761 additions
and
299 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
/vendor/ | ||
composer.lock | ||
/tests/report/ | ||
.idea | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,35 @@ | ||
language: php | ||
|
||
dist: trusty | ||
|
||
cache: | ||
directories: | ||
- $HOME/.composer/cache/files | ||
|
||
php: | ||
- 5.5 | ||
- 5.6 | ||
- 7.0 | ||
- 7.1 | ||
- hhvm | ||
- nightly | ||
|
||
env: | ||
- PREFER_LOWEST=--prefer-lowest | ||
- PREFER_LOWEST= | ||
|
||
matrix: | ||
allow_failures: | ||
- php: nightly | ||
- php: hhvm | ||
|
||
before_script: | ||
- travis_retry composer update --no-interaction | ||
- travis_retry composer update --no-interaction --prefer-dist $PREFER_LOWEST | ||
|
||
script: | ||
- vendor/bin/phpcs -p --warning-severity=0 src/ tests/ | ||
- vendor/bin/phpunit --coverage-clover=./tests/report/coverage.clover --testsuite=coverage | ||
- vendor/bin/phpunit --testsuite=performance | ||
|
||
after_script: | ||
- ./build/coverage_to_scruitinizer.sh | ||
- test -f ./tests/report/coverage.clover && (wget https://scrutinizer-ci.com/ocular.phar; php ocular.phar code-coverage:upload --format=php-clover ./tests/report/coverage.clover) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.