Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
moodle-tool_lifecycle
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elc
moodle-tool_lifecycle
Commits
3fed85aa
Unverified
Commit
3fed85aa
authored
6 years ago
by
Tobias Reischmann
Browse files
Options
Downloads
Patches
Plain Diff
Updated travis
parent
22a94cb4
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.travis.yml
+30
-11
30 additions, 11 deletions
.travis.yml
with
30 additions
and
11 deletions
.travis.yml
+
30
−
11
View file @
3fed85aa
language
:
php
language
:
php
sudo
:
false
sudo
:
false
dist
:
trusty
cache
:
cache
:
directories
:
directories
:
...
@@ -9,11 +10,6 @@ cache:
...
@@ -9,11 +10,6 @@ cache:
addons
:
addons
:
postgresql
:
"
9.4"
postgresql
:
"
9.4"
apt
:
packages
:
-
oracle-java9-installer
-
oracle-java9-set-default
php
:
php
:
-
7.0
-
7.0
...
@@ -24,24 +20,35 @@ env:
...
@@ -24,24 +20,35 @@ env:
-
DB=pgsql MOODLE_BRANCH=MOODLE_34_STABLE
-
DB=pgsql MOODLE_BRANCH=MOODLE_34_STABLE
-
DB=pgsql MOODLE_BRANCH=MOODLE_35_STABLE
-
DB=pgsql MOODLE_BRANCH=MOODLE_35_STABLE
-
DB=pgsql MOODLE_BRANCH=MOODLE_36_STABLE
-
DB=pgsql MOODLE_BRANCH=MOODLE_36_STABLE
-
DB=pgsql MOODLE_BRANCH=MOODLE_37_STABLE
-
DB=pgsql MOODLE_BRANCH=master
-
DB=pgsql MOODLE_BRANCH=master
-
DB=mysqli MOODLE_BRANCH=MOODLE_34_STABLE
-
DB=mysqli MOODLE_BRANCH=MOODLE_34_STABLE
-
DB=mysqli MOODLE_BRANCH=MOODLE_35_STABLE
-
DB=mysqli MOODLE_BRANCH=MOODLE_35_STABLE
-
DB=mysqli MOODLE_BRANCH=MOODLE_36_STABLE
-
DB=mysqli MOODLE_BRANCH=MOODLE_36_STABLE
-
DB=mysqli MOODLE_BRANCH=MOODLE_37_STABLE
-
DB=mysqli MOODLE_BRANCH=master
-
DB=mysqli MOODLE_BRANCH=master
matrix
:
matrix
:
allow_failures
:
allow_failures
:
-
env
:
DB=pgsql MOODLE_BRANCH=master
-
env
:
DB=pgsql MOODLE_BRANCH=master
-
env
:
DB=mysqli MOODLE_BRANCH=master
-
env
:
DB=mysqli MOODLE_BRANCH=master
exclude
:
-
php
:
7.0
env
:
DB=pgsql MOODLE_BRANCH=MOODLE_37_STABLE
-
php
:
7.0
env
:
DB=mysqli MOODLE_BRANCH=MOODLE_37_STABLE
-
php
:
7.0
env
:
DB=pgsql MOODLE_BRANCH=master
-
php
:
7.0
env
:
DB=mysqli MOODLE_BRANCH=master
fast_finish
:
true
fast_finish
:
true
before_install
:
before_install
:
-
phpenv config-rm xdebug.ini
-
phpenv config-rm xdebug.ini
-
nvm install
v
8.9.4
-
nvm install 8.9.4
-
cd ../..
-
cd ../..
-
composer selfupdate
-
composer selfupdate
-
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 ^2
-
export PATH="$(cd ci/bin; pwd):$(cd ci/vendor/bin; pwd):$PATH"
-
export PATH="$(cd ci/bin; pwd):$(cd ci/vendor/bin; pwd):$PATH"
jobs
:
jobs
:
...
@@ -49,7 +56,7 @@ jobs:
...
@@ -49,7 +56,7 @@ jobs:
# Prechecks against latest Moodle stable only.
# Prechecks against latest Moodle stable only.
-
stage
:
static
-
stage
:
static
php
:
7.1
php
:
7.1
env
:
DB=mysqli MOODLE_BRANCH=MOODLE_3
6
_STABLE
env
:
DB=mysqli MOODLE_BRANCH=MOODLE_3
7
_STABLE
install
:
install
:
-
moodle-plugin-ci install --no-init
-
moodle-plugin-ci install --no-init
script
:
script
:
...
@@ -61,11 +68,20 @@ jobs:
...
@@ -61,11 +68,20 @@ jobs:
-
moodle-plugin-ci mustache
-
moodle-plugin-ci mustache
-
moodle-plugin-ci grunt
-
moodle-plugin-ci grunt
-
moodle-plugin-ci validate
-
moodle-plugin-ci validate
# Smaller build matrix for development builds
-
stage
:
develop
php
:
7.1
env
:
DB=mysqli MOODLE_BRANCH=MOODLE_37_STABLE
install
:
install
:
-
moodle-plugin-ci install
-
moodle-plugin-ci install
script
:
-
moodle-plugin-ci phpunit --coverage-clover
-
moodle-plugin-ci behat
# Unit tests and behat tests against full matrix.
# Unit tests and behat tests against full matrix.
install
:
-
moodle-plugin-ci install
-
script
:
script
:
-
moodle-plugin-ci phpunit --coverage-clover
-
moodle-plugin-ci phpunit --coverage-clover
-
moodle-plugin-ci behat
-
moodle-plugin-ci behat
...
@@ -74,4 +90,7 @@ after_success:
...
@@ -74,4 +90,7 @@ after_success:
stages
:
stages
:
-
static
-
static
-
test
-
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)
\ No newline at end of file
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