forked from paulholden/moodle-local_cohortrole
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
46 lines (35 loc) · 827 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
language: php
addons:
postgresql: "9.6"
services:
- docker
- postgresql
cache:
directories:
- $HOME/.composer/cache
- $HOME/.npm
- $HOME/.nvm
env:
global:
- DB=pgsql
matrix:
include:
- php: 7.1
env: MOODLE_BRANCH=MOODLE_35_STABLE
- php: 7.2
env: MOODLE_BRANCH=MOODLE_38_STABLE
- php: 7.3
env: MOODLE_BRANCH=MOODLE_39_STABLE
- php: 7.3
env: MOODLE_BRANCH=MOODLE_310_STABLE
before_install:
- phpenv config-rm xdebug.ini
- cd ../..
- composer create-project -n --no-dev --prefer-dist moodlehq/moodle-plugin-ci ci ^3
- export PATH="$(cd ci/bin; pwd):$(cd ci/vendor/bin; pwd):$PATH"
install:
- moodle-plugin-ci install
script:
- moodle-plugin-ci grunt
- moodle-plugin-ci phpunit --coverage-text
- moodle-plugin-ci behat --profile chrome