File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -23,28 +23,28 @@ apt-get install -qy --no-install-recommends omc
23
23
parallel {
24
24
stage(' python2' ) {
25
25
steps {
26
- timeout( 1 ) {
27
- // OpenModelica does not like running as root
28
- sh ' chown -R nobody . '
29
- sh ' pip2 install pytest '
30
- sh ' sudo -u nobody python2 setup.py build '
26
+ // OpenModelica does not like running as root
27
+ sh ' chown -R nobody . '
28
+ sh ' pip2 install pytest '
29
+ sh ' sudo -u nobody python2 setup.py build '
30
+ timeout( 3 ) {
31
31
sh ' sudo -u nobody py.test -v --junitxml py2.xml tests/*.py'
32
- sh ' python2 setup.py install'
33
- junit ' py2.xml'
34
32
}
33
+ sh ' python2 setup.py install'
34
+ junit ' py2.xml'
35
35
}
36
36
}
37
37
stage(' python3' ) {
38
38
steps {
39
- timeout( 1 ) {
40
- // OpenModelica does not like running as root
41
- sh ' chown -R nobody . '
42
- sh ' pip3 install pytest '
43
- sh ' sudo -u nobody python3 setup.py build '
39
+ // OpenModelica does not like running as root
40
+ sh ' chown -R nobody . '
41
+ sh ' pip3 install pytest '
42
+ sh ' sudo -u nobody python3 setup.py build '
43
+ timeout( 3 ) {
44
44
sh ' sudo -u nobody py.test -v --junitxml py3.xml tests/*.py'
45
- sh ' python3 setup.py install'
46
- junit ' py3.xml'
47
45
}
46
+ sh ' python3 setup.py install'
47
+ junit ' py3.xml'
48
48
}
49
49
}
50
50
}
You can’t perform that action at this time.
0 commit comments