Skip to content

Commit

Permalink
Merge branch 'MOODLE310'
Browse files Browse the repository at this point in the history
  • Loading branch information
luukverhoeven committed Nov 14, 2020
2 parents b5848f7 + 21f7059 commit b581e8a
Show file tree
Hide file tree
Showing 20 changed files with 60 additions and 3,447 deletions.
214 changes: 0 additions & 214 deletions .eslintrc

This file was deleted.

54 changes: 21 additions & 33 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,62 +1,50 @@
language: php
sudo: required
dist: trusty

addons:
hosts:
- moodle.test
firefox: "35.0.1"
postgresql: "9.4"
apt:
packages:
- oracle-java9-installer
- oracle-java9-set-default
- redis-server
postgresql: "9.6"

services:
- redis-server
- mysql
- postgresql
- docker

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

php:
- 7.2
- 7.4

env:
global:
- IGNORE_PATHS=vendor,source
- IGNORE_NAMES=*.txt,*.md

# Alternate tests with MySQL and PostgreSQL
matrix:
include:
# PHP 7.0
- php: 7.0
env: DB=mysqli MOODLE_BRANCH=MOODLE_35_STABLE
- php: 7.2
env: DB=pgsql MOODLE_BRANCH=MOODLE_37_STABLE
- php: 7.2
env: DB=pgsql MOODLE_BRANCH=master
- MOODLE_BRANCH=MOODLE_310_STABLE
matrix:
- DB=pgsql
- DB=mysqli

before_install:
- phpenv config-rm xdebug.ini
- nvm install 14 # moodle-plugin-ci still uses 8.9, but Moodle core switched to 14 in MDL-66109.
- nvm use 14
- cd ../..
- nvm install 8.9;
nvm use 8.9;
composer create-project -n --no-dev --prefer-dist moodlerooms/moodle-plugin-ci ci ^2;
- composer create-project -n --no-dev --prefer-dist blackboard-open-source/moodle-plugin-ci ci dev-master
- export PATH="$(cd ci/bin; pwd):$(cd ci/vendor/bin; pwd):$PATH"
- docker run -d -p 127.0.0.1:4444:4444 --net=host -v /dev/shm:/dev/shm selenium/standalone-chrome:3

install:
- moodle-plugin-ci install -vvv
- echo '$CFG->cookiesecure = false;' >> moodle/config.php
- moodle-plugin-ci install

script:
- moodle-plugin-ci validate
- moodle-plugin-ci phplint
- moodle-plugin-ci phpcpd
- moodle-plugin-ci phpcpd || true # Output warnings but do not fail the build because of duplicated but well working code
- moodle-plugin-ci phpmd
- moodle-plugin-ci codechecker
- moodle-plugin-ci validate
- moodle-plugin-ci savepoints
- moodle-plugin-ci mustache
- moodle-plugin-ci grunt
- moodle-plugin-ci phpdoc
- moodle-plugin-ci phpunit
- moodle-plugin-ci behat
- moodle-plugin-ci behat --profile chrome --dump
20 changes: 15 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,31 @@ Types of changes
* **Fixed** for any bug fixes.
* **Security** in case of vulnerabilities.

# Version (3.9) - 2020-05-06
## Version (3.10) - 2020-11-14

### Changed
##### Changed
- Updated version number, no issues found.
- Travis testing
- Docblocks

##### Removed
- Remove `.eslintrc` `Gruntfile.js` and `packages.json` from the project causes Travis issues.

## Version (3.9) - 2020-05-06

##### Changed
- Updated version number, no issues found.
- Minimum version PHP 7.2
- Add core_userlist_provider

## Version (3.8.0) - 2019-10-11
### Changed
##### Changed
- Update version number, no issues founded in Moodle 3.8


## Version (3.5.7) - 2019-05-20
### Added
##### Added
- Release of the first official version.

### Changed
##### Changed
- Adding undo function.
43 changes: 0 additions & 43 deletions Gruntfile.js

This file was deleted.

Loading

0 comments on commit b581e8a

Please sign in to comment.