1
0
mirror of https://github.com/PlagiarismCheck/moodle-plagiarism_pchkorg.git synced 2024-09-19 00:50:08 +00:00
moodle-plagiarism_pchkorg/.travis.yml
Jane Adelmann 7e31e7b49f
#14 - All Travis CI checks have been enabled.
#13 - A validation has been added.
 #12 - File with events has been deleted.
 #11 - A file access.php has been rewritten.
 #10 - install.xml file has been rewritten by xmldb tool.
 #9 - A Class with Privacy definition has been created.
 #8 - All urls and paths have been wrapped with build-in class  `moodle_url`.
 #7 - Check of `MOODLE_INTERNAL` constant has been added to each file where it was needed.
 #6 - All strings like this have been wrapped with `get_string` function.
 #5 - All native calls of `curl` have been replaced with moodle `curl` class.
 #4 - All classes have been renamed with moodle style naming. FileModel had been dropped.
 #3 - GPL License has been added to each file.
 #2 - Call of deprecated function has been replaced with a new one.
2022-01-04 16:11:53 +02:00

60 lines
1.3 KiB
YAML

language: php
sudo: false
cache:
directories:
- $HOME/.composer/cache
- $HOME/.npm
addons:
postgresql: "9.6"
apt:
packages:
- mysql-server-5.6
- mysql-client-core-5.6
- mysql-client-5.6
php:
- 7.0
- 7.1
env:
matrix:
- DB=pgsql MOODLE_BRANCH=MOODLE_33_STABLE
- DB=mysqli MOODLE_BRANCH=MOODLE_33_STABLE
- DB=pgsql MOODLE_BRANCH=MOODLE_34_STABLE
- DB=mysqli MOODLE_BRANCH=MOODLE_34_STABLE
- DB=pgsql MOODLE_BRANCH=MOODLE_35_STABLE
- DB=mysqli MOODLE_BRANCH=MOODLE_35_STABLE
matrix:
include:
- php: 5.6
env: DB=pgsql MOODLE_BRANCH=MOODLE_33_STABLE
- php: 5.6
env: DB=mysqli MOODLE_BRANCH=MOODLE_33_STABLE
before_install:
- phpenv config-rm xdebug.ini
- nvm install 8.9
- nvm use 8.9
- cd ../..
- 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"
install:
- moodle-plugin-ci install
script:
- moodle-plugin-ci phplint
- moodle-plugin-ci phpcpd
- 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 phpunit
- moodle-plugin-ci behat