Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Moodle Filter Opencast
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elc
Moodle Filter Opencast
Commits
bd44fe14
Commit
bd44fe14
authored
4 years ago
by
n_herr03
Browse files
Options
Downloads
Patches
Plain Diff
Added .travis.yml
parent
a3e2a3be
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.travis.yml
+83
-0
83 additions, 0 deletions
.travis.yml
with
83 additions
and
0 deletions
.travis.yml
0 → 100644
+
83
−
0
View file @
bd44fe14
language
:
php
os
:
linux
dist
:
xenial
cache
:
directories
:
-
$HOME/.composer/cache
-
$HOME/.npm
addons
:
postgresql
:
"
9.6"
services
:
-
mysql
-
docker
php
:
-
7.2
-
7.3
-
7.4
env
:
jobs
:
-
DB=pgsql MOODLE_BRANCH=MOODLE_37_STABLE
-
DB=pgsql MOODLE_BRANCH=MOODLE_38_STABLE
-
DB=pgsql MOODLE_BRANCH=MOODLE_39_STABLE
-
DB=pgsql MOODLE_BRANCH=master
-
DB=mysqli MOODLE_BRANCH=MOODLE_37_STABLE
-
DB=mysqli MOODLE_BRANCH=MOODLE_38_STABLE
-
DB=mysqli MOODLE_BRANCH=MOODLE_39_STABLE
-
DB=mysqli MOODLE_BRANCH=master
before_install
:
-
phpenv config-rm xdebug.ini
-
cd ../..
-
composer selfupdate
-
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"
-
moodle-plugin-ci add-plugin Opencast-Moodle/moodle-block_opencast
-
moodle-plugin-ci add-plugin Opencast-Moodle/moodle-tool_opencast
jobs
:
fast_finish
:
true
include
:
# Prechecks against latest Moodle stable only.
-
stage
:
static
php
:
7.4
env
:
DB=mysqli MOODLE_BRANCH=MOODLE_39_STABLE
install
:
-
moodle-plugin-ci install --no-init
script
:
-
moodle-plugin-ci phplint
-
moodle-plugin-ci phpcpd
-
moodle-plugin-ci phpmd
-
moodle-plugin-ci phpdoc
-
moodle-plugin-ci codechecker
-
moodle-plugin-ci savepoints
-
moodle-plugin-ci mustache
-
moodle-plugin-ci grunt
-
moodle-plugin-ci validate
# Smaller build matrix for development builds
-
stage
:
develop
php
:
7.4
env
:
DB=mysqli MOODLE_BRANCH=MOODLE_39_STABLE
exclude
:
-
php
:
7.4
env
:
DB=pgsql MOODLE_BRANCH=MOODLE_37_STABLE
-
php
:
7.4
env
:
DB=mysqli MOODLE_BRANCH=MOODLE_37_STABLE
# Unit tests and behat tests against full matrix.
install
:
-
moodle-plugin-ci install
script
:
-
moodle-plugin-ci phpunit --coverage-clover
-
moodle-plugin-ci behat --profile chrome
stages
:
-
static
-
name
:
develop
if
:
branch != master AND (type != pull_request OR head_branch != master) AND (tag IS blank)
-
name
:
test
if
:
branch = master OR (type = pull_request AND head_branch = master) OR (tag IS present)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment