Skip to content

Commit

Permalink
Merge pull request #5 from catalyst/travis
Browse files Browse the repository at this point in the history
Update travis file
  • Loading branch information
dmitriim authored Apr 6, 2018
2 parents bc6aba8 + 80ded27 commit de63756
Showing 1 changed file with 48 additions and 13 deletions.
61 changes: 48 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,39 +13,75 @@ cache:
- $HOME/.composer/cache

php:
- 5.6
- 5.6
- 7.0
- 7.1

matrix:
allow_failures:
- php: 7.0
addons:
postgresql: "9.3"

env:
matrix:
- DB=pgsql MOODLE_BRANCH=MOODLE_27_STABLE
- DB=pgsql MOODLE_BRANCH=MOODLE_28_STABLE
- DB=pgsql MOODLE_BRANCH=MOODLE_29_STABLE
- DB=pgsql MOODLE_BRANCH=MOODLE_30_STABLE
- DB=pgsql MOODLE_BRANCH=MOODLE_31_STABLE
- DB=pgsql MOODLE_BRANCH=MOODLE_32_STABLE
- DB=pgsql MOODLE_BRANCH=MOODLE_33_STABLE
- DB=pgsql MOODLE_BRANCH=MOODLE_34_STABLE
- DB=pgsql MOODLE_BRANCH=master
- DB=mysqli MOODLE_BRANCH=MOODLE_27_STABLE
- DB=mysqli MOODLE_BRANCH=MOODLE_28_STABLE
- DB=mysqli MOODLE_BRANCH=MOODLE_29_STABLE
- DB=mysqli MOODLE_BRANCH=MOODLE_30_STABLE
- DB=mysqli MOODLE_BRANCH=MOODLE_31_STABLE
- DB=mysqli MOODLE_BRANCH=MOODLE_32_STABLE
- DB=mysqli MOODLE_BRANCH=MOODLE_33_STABLE
- DB=mysqli MOODLE_BRANCH=MOODLE_34_STABLE
- DB=mysqli MOODLE_BRANCH=master

matrix:
include:
exclude:
- php: 5.6
env: DB=pgsql MOODLE_BRANCH=MOODLE_34_STABLE
- php: 5.6
env: DB=pgsql MOODLE_BRANCH=master
- php: 5.6
env: DB=mysqli MOODLE_BRANCH=MOODLE_34_STABLE
- php: 5.6
env: DB=mysqli MOODLE_BRANCH=master
- php: 7.0
env: DB=pgsql MOODLE_BRANCH=MOODLE_30_STABLE
env: DB=mysqli MOODLE_BRANCH=MOODLE_27_STABLE
- php: 7.0
env: DB=pgsql MOODLE_BRANCH=MOODLE_31_STABLE
env: DB=mysqli MOODLE_BRANCH=MOODLE_28_STABLE
- php: 7.0
env: DB=pgsql MOODLE_BRANCH=master
env: DB=mysqli MOODLE_BRANCH=MOODLE_29_STABLE
- php: 7.0
env: DB=mysqli MOODLE_BRANCH=MOODLE_30_STABLE
env: DB=pgsql MOODLE_BRANCH=MOODLE_27_STABLE
- php: 7.0
env: DB=mysqli MOODLE_BRANCH=MOODLE_31_STABLE
env: DB=pgsql MOODLE_BRANCH=MOODLE_28_STABLE
- php: 7.0
env: DB=mysqli MOODLE_BRANCH=master
env: DB=pgsql MOODLE_BRANCH=MOODLE_29_STABLE
- php: 7.1
env: DB=pgsql MOODLE_BRANCH=MOODLE_27_STABLE
- php: 7.1
env: DB=pgsql MOODLE_BRANCH=MOODLE_28_STABLE
- php: 7.1
env: DB=pgsql MOODLE_BRANCH=MOODLE_29_STABLE
- php: 7.1
env: DB=pgsql MOODLE_BRANCH=MOODLE_30_STABLE
- php: 7.1
env: DB=pgsql MOODLE_BRANCH=MOODLE_31_STABLE
- php: 7.1
env: DB=mysqli MOODLE_BRANCH=MOODLE_27_STABLE
- php: 7.1
env: DB=mysqli MOODLE_BRANCH=MOODLE_28_STABLE
- php: 7.1
env: DB=mysqli MOODLE_BRANCH=MOODLE_29_STABLE
- php: 7.1
env: DB=mysqli MOODLE_BRANCH=MOODLE_30_STABLE
- php: 7.1
env: DB=mysqli MOODLE_BRANCH=MOODLE_31_STABLE

before_install:
- cd ../..
Expand All @@ -66,4 +102,3 @@ script:
# - moodle-plugin-ci jshint # No JS
# - moodle-plugin-ci phpunit # No tests yet
# - moodle-plugin-ci behat # No tests yet

0 comments on commit de63756

Please sign in to comment.