Simplify travis file
This commit is contained in:
parent
f04cf2afc3
commit
bf33d00fbe
1 changed files with 16 additions and 26 deletions
42
.travis.yml
42
.travis.yml
|
@ -1,40 +1,30 @@
|
|||
language: php
|
||||
|
||||
notifications:
|
||||
email:
|
||||
recipients:
|
||||
- dmitriim@catalyst-au.net
|
||||
|
||||
sudo: false
|
||||
|
||||
cache:
|
||||
directories:
|
||||
- $HOME/.composer/cache
|
||||
|
||||
php:
|
||||
- 5.6
|
||||
- 7.0
|
||||
- 7.1
|
||||
|
||||
addons:
|
||||
postgresql: "9.3"
|
||||
|
||||
env:
|
||||
global:
|
||||
- DB=pgsql # There is not enough database usage to justify full check with mysqli too.
|
||||
matrix:
|
||||
- MOODLE_BRANCH=MOODLE_30_STABLE
|
||||
- MOODLE_BRANCH=MOODLE_31_STABLE
|
||||
- MOODLE_BRANCH=MOODLE_32_STABLE
|
||||
- MOODLE_BRANCH=MOODLE_33_STABLE
|
||||
- MOODLE_BRANCH=master
|
||||
|
||||
matrix:
|
||||
include:
|
||||
# Test old Moodle in PHP 5.6 only
|
||||
- php: 5.6
|
||||
env: MOODLE_BRANCH=MOODLE_29_STABLE
|
||||
# Test MySQL
|
||||
- php: 7.0
|
||||
env: DB=mysqli MOODLE_BRANCH=master
|
||||
# Test PHP 7.1
|
||||
- php: 7.1
|
||||
env: MOODLE_BRANCH=master
|
||||
exclude:
|
||||
- php: 5.6
|
||||
env: MOODLE_BRANCH=master
|
||||
- DB=pgsql MOODLE_BRANCH=MOODLE_33_STABLE
|
||||
- DB=pgsql MOODLE_BRANCH=MOODLE_34_STABLE
|
||||
- DB=pgsql MOODLE_BRANCH=master
|
||||
- DB=mysqli MOODLE_BRANCH=MOODLE_33_STABLE
|
||||
- DB=mysqli MOODLE_BRANCH=MOODLE_34_STABLE
|
||||
- DB=mysqli MOODLE_BRANCH=master
|
||||
|
||||
before_install:
|
||||
- cd ../..
|
||||
|
@ -43,12 +33,12 @@ before_install:
|
|||
- export PATH="$(cd ci/bin; pwd):$(cd ci/vendor/bin; pwd):$PATH"
|
||||
|
||||
install:
|
||||
- moodle-plugin-ci install -vvv
|
||||
- moodle-plugin-ci install
|
||||
|
||||
script:
|
||||
- moodle-plugin-ci validate
|
||||
- moodle-plugin-ci phplint
|
||||
- moodle-plugin-ci codechecker
|
||||
- moodle-plugin-ci validate
|
||||
- moodle-plugin-ci csslint
|
||||
- moodle-plugin-ci shifter
|
||||
- moodle-plugin-ci jshint
|
||||
|
|
Loading…
Reference in a new issue