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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elc
hsh-maxima
Commits
a2cbe81b
Commit
a2cbe81b
authored
4 years ago
by
Lennart Kramer
Browse files
Options
Downloads
Patches
Plain Diff
Forgot to commit new script file
parent
2dcac745
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
testimage.sh
+19
-1
19 additions, 1 deletion
testimage.sh
with
19 additions
and
1 deletion
testimage.sh
+
19
−
1
View file @
a2cbe81b
...
...
@@ -2,6 +2,24 @@
export
PATH
=
"/ci/bin:/ci/vendor/bin:
$PATH
"
.
~/.nvm/nvm.sh
git clone
--branch
"
$QSTACK_VERSION
"
https://github.com/maths/moodle-qtype_stack
cd
moodle-qtype_stack
||
exit
1
patch
-p1
<<
"
EOF
"
diff --git a/db/install.php b/db/install.php
index d573cde9..63f6a16e 100644
--- a/db/install.php
+++ b/db/install.php
@@ -58,7 +58,7 @@ function xmldb_qtype_stack_install() {
// Set to the same defaults as in settings.php - however, that has not been done
// yet in the Moodle install code flow, so we have to duplicate here.
set_config('maximaversion', 'default', 'qtype_stack');
- set_config('castimeout', 10, 'qtype_stack');
+ set_config('castimeout', 120, 'qtype_stack');
set_config('casresultscache', 'db', 'qtype_stack');
set_config('maximacommand', '', 'qtype_stack');
set_config('serveruserpass', '', 'qtype_stack');
EOF
cd
..
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
...
...
@@ -12,7 +30,7 @@ moodle-plugin-ci add-config 'define("QTYPE_STACK_TEST_CONFIG_PLATFORM", "
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_MAXIMACOMMAND", "http://
2020042000.kub00.math.uni-goettingen.de/goemaxima
");'
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");'
...
...
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