Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hsh-maxima
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
hsh-maxima
Commits
5e717c88
Commit
5e717c88
authored
5 years ago
by
Lennart Kramer
Browse files
Options
Downloads
Patches
Plain Diff
update ci conf for tests
parent
edb262c7
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
.gitlab-ci.yml
+44
-2
44 additions, 2 deletions
.gitlab-ci.yml
with
44 additions
and
2 deletions
.gitlab-ci.yml
+
44
−
2
View file @
5e717c88
image
:
"
docker:latest"
stages
:
-
build_submodule
-
build_webservice
...
...
@@ -7,8 +5,22 @@ stages:
variables
:
GIT_SUBMODULE_STRATEGY
:
recursive
REGISTRY
:
"
172.30.190.249:5000"
DB
:
"
pgsql"
POSTGRES_USER
:
"
postgres"
POSTGRES_PASSWORD
:
"
"
POSTGRES_HOST_AUTH_METHOD
:
"
trust"
TRAVIS_BUILD_DIR
:
"
$CI_PROJECT_DIR"
# gitlab ci script taken from https://gist.github.com/danielneis/5c6140ec8150c6151a54bccd26950278
services
:
-
postgres:latest
cache
:
paths
:
-
$HOME/.compose/cache
build_webservice
:
image
:
"
docker:latest"
stage
:
build_webservice
needs
:
-
project
:
martin.heide/goe_web
...
...
@@ -19,3 +31,33 @@ build_webservice:
-
docker
script
:
-
./build.sh ${REGISTRY}
job_4_3_2
:
image
:
moodlehq/moodle-php-apache:7.3
variables
:
MOODLE_BRANCH
:
"
MOODLE_37_STABLE"
QSTACK_VERSION
:
"
v4.3.2"
script
:
-
apt update && apt install git-core postgresql-client texinfo
-
cd $CI_PROJECT_DIR/..
-
curl -sS https://getcomposer.org/installer | php
-
mv composer.phar /usr/local/bin/composer
-
composer create-project -n --no-dev moodlerooms/moodle-plugin-ci ci ^1
-
export PATH="$(cd ci/bin; pwd):$(cd ci/vendor/bin; pwd):$PATH"
-
chmod u+x ci/bin/moodle-plugin-ci
-
chmod u+x ci/bin/*
-
umask u+x
-
git clone --branch "$QSTACK_VERSION" https://github.com/maths/moodle-qtype_stack
-
moodle-plugin-ci add-plugin maths/moodle-qbehaviour_dfexplicitvaildate
-
moodle-plugin-ci add-plugin maths/moodle-qbehaviour_dfcbmexplicitvaildate
-
moodle-plugin-ci add-plugin maths/moodle-qbehaviour_adaptivemultipart
-
moodle-plugin-ci install --plugin moodle-qtype_stack
-
moodle-plugin-ci add-config 'define("QTYPE_STACK_TEST_CONFIG_PLATFORM", "server");'
-
moodle-plugin-ci add-config 'define("QTYPE_STACK_TEST_CONFIG_MAXIMAVERSION", "5.41.0");'
-
moodle-plugin-ci add-config 'define("QTYPE_STACK_TEST_CONFIG_CASTIMEOUT", "10");'
-
moodle-plugin-ci add-config 'define("QTYPE_STACK_TEST_CONFIG_CASRESULTSCACHE", "db");'
-
moodle-plugin-ci add-config 'define("QTYPE_STACK_TEST_CONFIG_MAXIMACOMMAND", "http://kubecluster.test/godev/");'
-
moodle-plugin-ci add-config 'define("QTYPE_STACK_TEST_CONFIG_PLOTCOMMAND", "gnuplot");'
-
moodle-plugin-ci add-config 'define("QTYPE_STACK_TEST_CONFIG_MAXIMALIBRARIES", "stats, distrib, descriptive, simplex");'
-
moodle-plugin-ci add-config 'define("QTYPE_STACK_TEST_CONFIG_CASDEBUGGING", "0");'
-
moodle-plugin-ci phpunit
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