Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
language: php
2
 
3
addons:
4
  postgresql: "9.4"
5
 
6
services:
7
  - mysql
8
  - postgresql
9
  - docker
10
 
11
cache:
12
  directories:
13
    - $HOME/.composer/cache
14
    - $HOME/.npm
15
 
16
php:
17
  - 7.2
18
  - 7.3
19
 
20
env:
21
  global:
22
    - MOODLE_BRANCH=MOODLE_39_STABLE
23
  matrix:
24
    - DB=pgsql
25
    - DB=mysqli
26
 
27
before_install:
28
  - phpenv config-rm xdebug.ini
29
  - nvm install 14.0.0
30
  - nvm use 14.0.0
31
  - cd ../..
32
  - composer create-project -n --no-dev --prefer-dist blackboard-open-source/moodle-plugin-ci ci ^2
33
  - export PATH="$(cd ci/bin; pwd):$(cd ci/vendor/bin; pwd):$PATH"
34
  - docker run -d -p 127.0.0.1:4444:4444 --net=host -v /dev/shm:/dev/shm selenium/standalone-firefox:3
35
 
36
install:
37
  - moodle-plugin-ci install
38
 
39
script:
40
  - moodle-plugin-ci phplint
41
  - moodle-plugin-ci phpcpd
42
  - moodle-plugin-ci phpmd
43
  - moodle-plugin-ci codechecker
44
  - moodle-plugin-ci validate
45
  - moodle-plugin-ci savepoints
46
  - moodle-plugin-ci mustache
47
  - moodle-plugin-ci grunt
48
  - moodle-plugin-ci phpdoc
49
  - moodle-plugin-ci phpunit
50
  - moodle-plugin-ci behat