Skip to content
Snippets Groups Projects
Unverified Commit 900890a3 authored by Tobias Reischmann's avatar Tobias Reischmann
Browse files

Updated travis.yml to meet current recommendations of blackboard

parent 552f096f
No related branches found
No related tags found
No related merge requests found
language: php language: php
sudo: false sudo: true
dist: trusty
addons:
firefox: "47.0.1"
postgresql: "9.4"
apt:
packages:
- openjdk-8-jre-headless
cache: cache:
directories: directories:
- $HOME/.composer/cache - $HOME/.composer/cache
- $HOME/.npm - $HOME/.npm
addons:
postgresql: "9.4"
php: php:
- 7.0 - 7.0
- 7.1 - 7.1
...@@ -45,9 +48,9 @@ matrix: ...@@ -45,9 +48,9 @@ matrix:
before_install: before_install:
- phpenv config-rm xdebug.ini - phpenv config-rm xdebug.ini
- nvm install 8.9.4 - nvm install 8.9
- nvm use 8.9
- cd ../.. - cd ../..
- composer selfupdate
- composer create-project -n --no-dev --prefer-dist blackboard-open-source/moodle-plugin-ci ci ^2 - composer create-project -n --no-dev --prefer-dist blackboard-open-source/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"
...@@ -64,10 +67,11 @@ jobs: ...@@ -64,10 +67,11 @@ jobs:
- moodle-plugin-ci phpcpd - moodle-plugin-ci phpcpd
- moodle-plugin-ci phpmd - moodle-plugin-ci phpmd
- moodle-plugin-ci codechecker - moodle-plugin-ci codechecker
- moodle-plugin-ci validate
- moodle-plugin-ci savepoints - moodle-plugin-ci savepoints
- moodle-plugin-ci mustache - moodle-plugin-ci mustache
- moodle-plugin-ci grunt - moodle-plugin-ci grunt
- moodle-plugin-ci validate - moodle-plugin-ci phpdoc
# Smaller build matrix for development builds # Smaller build matrix for development builds
- stage: develop - stage: develop
php: 7.1 php: 7.1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment