Separate testing of the obsolete version

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2018-06-11 19:31:24 +04:00
parent f5a68e9462
commit 1bf55db7d7
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3

View File

@ -15,9 +15,9 @@ cache:
- "$HOME/.npm" - "$HOME/.npm"
php: php:
- 5.6
- 7.0 - 7.0
- 7.1 - 7.1
- 7.2
env: env:
global: global:
@ -26,11 +26,17 @@ env:
- DB=mysqli - DB=mysqli
- DB=pgsql - DB=pgsql
matrix:
include:
- php: 5.6
env: MOODLE_BRANCH=MOODLE_33_STABLE
before_install: before_install:
- phpenv config-rm xdebug.ini - phpenv config-rm xdebug.ini
- nvm install 8.9 - nvm install 8.9
- nvm use 8.9 - nvm use 8.9
- cd ../.. - cd ../..
- composer selfupdate
- composer create-project -n --no-dev --prefer-dist moodlerooms/moodle-plugin-ci ci ^2 - composer create-project -n --no-dev --prefer-dist moodlerooms/moodle-plugin-ci ci ^2
- export PATH="$(cd ci/bin; pwd):$(cd ci/vendor/bin; pwd):$PATH" - export PATH="$(cd ci/bin; pwd):$(cd ci/vendor/bin; pwd):$PATH"
@ -52,7 +58,9 @@ script:
jobs: jobs:
include: include:
- stage: deploy - stage: deploy
install: false
script: false script: false
before_deploy: before_deploy:
- cd "$TRAVIS_REPO_SLUG" - cd "$TRAVIS_REPO_SLUG"
- git stash --all - git stash --all