Skip to content

Commit

Permalink
Tidy up Travis config.
Browse files Browse the repository at this point in the history
Switch to OpenJDK headless JRE: open-lms-open-source/moodle-plugin-ci#83
  • Loading branch information
paulholden committed Dec 7, 2018
1 parent 2f9f165 commit 205decc
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 19 deletions.
20 changes: 11 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,30 +6,32 @@ addons:
firefox: "47.0.1"
apt:
packages:
- oracle-java8-installer
- oracle-java8-set-default
- openjdk-8-jre-headless

cache:
directories:
- $HOME/.composer/cache
- $HOME/.npm

matrix:
include:
env:
global:
- DB=mysqli

matrix:
- php: 5.6
env: MOODLE_BRANCH=MOODLE_33_STABLE DB=mysqli
env: MOODLE_BRANCH=MOODLE_33_STABLE

- php: 7.0
env: MOODLE_BRANCH=MOODLE_33_STABLE DB=mysqli
env: MOODLE_BRANCH=MOODLE_33_STABLE

- php: 7.0
env: MOODLE_BRANCH=MOODLE_34_STABLE DB=mysqli
env: MOODLE_BRANCH=MOODLE_34_STABLE

- php: 7.0
env: MOODLE_BRANCH=MOODLE_35_STABLE DB=mysqli
env: MOODLE_BRANCH=MOODLE_35_STABLE

- php: 7.0
env: MOODLE_BRANCH=MOODLE_36_STABLE DB=mysqli
env: MOODLE_BRANCH=MOODLE_36_STABLE

before_install:
- phpenv config-rm xdebug.ini
Expand Down
19 changes: 9 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,27 @@
Moodle Cohort Role Synchronization
==================================
# Cohort role synchronization [![Build Status](https://travis-ci.org/paulholden/moodle-local_cohortrole.svg?branch=master)](https://travis-ci.org/paulholden/moodle-local_cohortrole)

## Requirements

Requirements
------------
- Moodle 3.3 (build 2017051500) or later.

Installation
------------
## Installation

Copy the cohortrole folder into your Moodle /local directory and visit your Admin Notification page to complete the installation.

Once installed, you should see a new option in the Administration Block:

> Users -> Accounts -> Cohort role synchronization
Usage
-----
## Usage

1. Create system-level cohort(s).
2. Create system-level assignable role(s) - optional, you can also use existing roles.
3. Visit Cohort role synchronization page.
4. Create new link between cohort and role.
5. Users will automatically be (un)assigned to the role according to their membership of selected cohort.

Author
------
## Author

Paul Holden ([email protected])

- Updates: https://moodle.org/plugins/view.php?plugin=local_cohortrole
Expand Down

0 comments on commit 205decc

Please sign in to comment.