Removed .travis.yml file

This commit is contained in:
Mark Nelson 2021-05-27 19:21:41 +08:00
parent 2e486e02a3
commit 901c44764f

View file

@ -1,54 +0,0 @@
language: php
# For javascript behat tests we need sudo.
sudo: true
cache:
directories:
- $HOME/.composer/cache
- $HOME/.npm
php:
- 7.2
- 7.4
addons:
firefox: 47.0.1
postgresql: "9.6"
apt:
packages:
- openjdk-8-jre-headless
services:
- mysql
- postgresql
env:
global:
- MOODLE_BRANCH=MOODLE_310_STABLE
- IGNORE_NAMES=mobile_*.mustache # Mobile mustache has specific syntax, ignore their templates
matrix:
- DB=pgsql
- DB=mysqli
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 phplint
# - moodle-plugin-ci phpcpd # subplugins often have similar code and cause "duplicated code" errors
# - moodle-plugin-ci phpmd # too much noise from this check, maybe, some day...
- moodle-plugin-ci codechecker
- moodle-plugin-ci validate
- moodle-plugin-ci savepoints
- moodle-plugin-ci mustache
- moodle-plugin-ci grunt
# - moodle-plugin-ci phpdoc # Complains about missing PHPDocs when they exist in parent class.
- moodle-plugin-ci phpunit
- moodle-plugin-ci behat