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

Commit

Permalink
Updated build matrix
Browse files Browse the repository at this point in the history
- Remove documentation build artifacts (not yet deployed)
- `s/SERVICE_MANAGER/CODE/g`, and set versions to `^2.6` and `^3.0` for testing.
  • Loading branch information
weierophinney committed Feb 23, 2016
1 parent 8216bd1 commit bcbdbc0
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ cache:
directories:
- $HOME/.composer/cache

env:
global:
- CODE_VERSION="^3.0"

matrix:
fast_finish: true
include:
Expand All @@ -19,23 +23,21 @@ matrix:
- EXECUTE_CS_CHECK=true
- php: 5.5
env:
- SERVICE_MANAGER_VERSION='^2.7.5'
- CODE_VERSION="^2.6"
- php: 5.6
env:
- EXECUTE_TEST_COVERALLS=true
- DEPLOY_DOCS="$(if [[ $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' ]]; then echo -n 'true' ; else echo -n 'false' ; fi)"
- PATH="$HOME/.local/bin:$PATH"
- php: 5.6
env:
- SERVICE_MANAGER_VERSION='^2.7.5'
- CODE_VERSION="^2.6"
- php: 7
- php: 7
env:
- SERVICE_MANAGER_VERSION='^2.7.5'
- CODE_VERSION="^2.6"
- php: hhvm
- php: hhvm
env:
- SERVICE_MANAGER_VERSION='^2.7.5'
- CODE_VERSION="^2.6"
allow_failures:
- php: hhvm

Expand All @@ -47,8 +49,7 @@ before_install:
- if [[ $EXECUTE_TEST_COVERALLS != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
- composer self-update
- if [[ $EXECUTE_TEST_COVERALLS == 'true' ]]; then composer require --dev --no-update satooshi/php-coveralls ; fi
- if [[ $SERVICE_MANAGER_VERSION != '' ]]; then composer require --dev --no-update "zendframework/zend-servicemanager:$SERVICE_MANAGER_VERSION" ; fi
- if [[ $SERVICE_MANAGER_VERSION == '' ]]; then composer require --dev --no-update "zendframework/zend-servicemanager:^3.0.3" ; fi
- composer require --no-update "zendframework/zend-code:$CODE_VERSION"

install:
- travis_retry composer install --no-interaction --ignore-platform-reqs
Expand Down

0 comments on commit bcbdbc0

Please sign in to comment.