Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fslpy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
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
Michiel Cottaar
fslpy
Commits
06c6516a
Commit
06c6516a
authored
7 years ago
by
Paul McCarthy
Browse files
Options
Downloads
Patches
Plain Diff
style stage needs stuff to be installed. Hoping that the "exit 0" doesn'tt
break anything
parent
5329cf97
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+20
-10
20 additions, 10 deletions
.gitlab-ci.yml
with
20 additions
and
10 deletions
.gitlab-ci.yml
+
20
−
10
View file @
06c6516a
...
@@ -210,7 +210,6 @@ variables:
...
@@ -210,7 +210,6 @@ variables:
.test
:
&test_template
.test
:
&test_template
stage
:
test
<<
:
*setup_ssh
<<
:
*setup_ssh
# Releases are just tags on a release
# Releases are just tags on a release
...
@@ -257,6 +256,14 @@ variables:
...
@@ -257,6 +256,14 @@ variables:
-
pip install sphinx sphinx-rtd-theme
-
pip install sphinx sphinx-rtd-theme
-
pip install pytest pytest-cov pytest-html pytest-runner mock coverage
-
pip install pytest pytest-cov pytest-html pytest-runner mock coverage
# style test
-
if [ "$TEST_STYLE"x != "x" ]; then
pip install pylint flake8;
flake8 fsl ||
true
;
pylint --output-format=colorized fsl ||
true
;
exit 0;
fi
# We need the FSL atlases for the atlas
# We need the FSL atlases for the atlas
# tests, and need $FSLDIR to be defined
# tests, and need $FSLDIR to be defined
-
export FSLDIR=/fsl/
-
export FSLDIR=/fsl/
...
@@ -287,6 +294,7 @@ variables:
...
@@ -287,6 +294,7 @@ variables:
test:2.7
:
test:2.7
:
stage
:
test
image
:
ubuntu:16.04
image
:
ubuntu:16.04
<<
:
*test_template
<<
:
*test_template
variables
:
variables
:
...
@@ -299,6 +307,7 @@ test:2.7:
...
@@ -299,6 +307,7 @@ test:2.7:
# we use ubuntu:14.04 for python 3.4, because
# we use ubuntu:14.04 for python 3.4, because
# wxpython is not available for 16.04/3.4
# wxpython is not available for 16.04/3.4
test:3.4
:
test:3.4
:
stage
:
test
image
:
ubuntu:14.04
image
:
ubuntu:14.04
<<
:
*test_template
<<
:
*test_template
variables
:
variables
:
...
@@ -309,6 +318,7 @@ test:3.4:
...
@@ -309,6 +318,7 @@ test:3.4:
test:3.5
:
test:3.5
:
stage
:
test
image
:
ubuntu:16.04
image
:
ubuntu:16.04
<<
:
*test_template
<<
:
*test_template
variables
:
variables
:
...
@@ -319,6 +329,7 @@ test:3.5:
...
@@ -319,6 +329,7 @@ test:3.5:
test:3.6
:
test:3.6
:
stage
:
test
image
:
ubuntu:16.04
image
:
ubuntu:16.04
<<
:
*test_template
<<
:
*test_template
variables
:
variables
:
...
@@ -335,16 +346,15 @@ test:3.6:
...
@@ -335,16 +346,15 @@ test:3.6:
style
:
style
:
stage
:
style
stage
:
style
image
:
ubuntu:14.04
<<
:
*test_template
variables
:
PY_VERSION
:
"
python3.5"
PY_PACKAGES
:
"
python3-pip
python3-venv"
PY_VENV
:
"
python3.5
-m
venv"
INSTALL_WX
:
"
pip
install
--only-binary
wxpython
-f
$WXPYTHON_UBUNTU1404_URL
wxpython"
TEST_STYLE
:
"
true"
tags
:
-
docker
image
:
python:3.5
script
:
-
pip install flake8 pylint
-
flake8 fsl ||
true
-
pylint --output-format=colorized fsl ||
true
###########
###########
...
...
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