Skip to content
Snippets Groups Projects
Commit ff0c26be authored by Alexander Bias's avatar Alexander Bias
Browse files

Update Travis CI support

parent 99f1931f
No related branches found
No related tags found
No related merge requests found
......@@ -2,17 +2,22 @@ language: php
sudo: false
addons:
postgresql: "9.3"
apt:
packages:
- oracle-java8-installer
- oracle-java8-set-default
cache:
directories:
- $HOME/.composer/cache
- $HOME/.npm
php:
- 7.1
- 7.0
- 5.6
addons:
postgresql: "9.3"
- 7.0
- 7.1
env:
global:
......@@ -23,9 +28,9 @@ env:
before_install:
- phpenv config-rm xdebug.ini
- nvm install node
- cd ../..
- composer selfupdate
- composer create-project -n --no-dev --prefer-dist moodlerooms/moodle-plugin-ci ci ^1
- 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"
install:
......@@ -36,9 +41,9 @@ script:
- moodle-plugin-ci phpcpd || true
- moodle-plugin-ci phpmd
- moodle-plugin-ci codechecker || true
- moodle-plugin-ci csslint
- moodle-plugin-ci shifter
- moodle-plugin-ci jshint || true
- moodle-plugin-ci validate
- moodle-plugin-ci savepoints
- moodle-plugin-ci mustache
- moodle-plugin-ci grunt
- moodle-plugin-ci phpunit
- moodle-plugin-ci behat
- moodle-plugin-ci behat --dump
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment