Skip to content
This repository has been archived by the owner on Jul 10, 2020. It is now read-only.

Commit

Permalink
Merge pull request #198 from thomasvargiu/feature/deps-upgrade
Browse files Browse the repository at this point in the history
Allowed zend-config v3
  • Loading branch information
neilime committed Nov 6, 2017
2 parents c1a4a9a + d9fd907 commit 2ee321c
Show file tree
Hide file tree
Showing 3 changed files with 425 additions and 318 deletions.
25 changes: 19 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
language: php

php:
- "5.6"
- "7.0"
sudo: false

cache:
directories:
- $HOME/.composer/cache
- vendor
- $HOME/.local

matrix:
include:
- php: 5.6
- php: 7.0
env:
- TEST_COVERAGE=true
- php: 7.1

before_install:
# Set the GitHub OAuth token to make use of the 6000 per hour rate limit
Expand All @@ -11,15 +23,16 @@ before_install:
# Update composer
- composer self-update
# Install project
- composer install --prefer-dist --dev
- composer update --prefer-dist --dev

before_script:
- mkdir -p build/logs

script:
- cd tests
- phpunit -d max_execution_time=0 --coverage-text --coverage-clover ../build/logs/clover.xml
- if [[ $TEST_COVERAGE == 'true' ]]; then ../vendor/bin/phpunit --coverage-text --coverage-clover ../build/logs/clover.xml ; fi
- if [[ $TEST_COVERAGE != 'true' ]]; then ../vendor/bin/phpunit ; fi
- cd ..

after_script:
- php vendor/bin/coveralls --verbose --config
- if [[ $TEST_COVERAGE == 'true' ]]; php vendor/bin/coveralls --verbose --config ; fi
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"require": {
"php": ">=5.3.2",
"zendframework/zend-config": "^2.3",
"zendframework/zend-config": "^2.3 || ^3.0",
"zendframework/zend-escaper": "^2.3",
"zendframework/zend-form": "^2.3",
"zendframework/zend-i18n": "^2.3",
Expand Down

0 comments on commit 2ee321c

Please sign in to comment.