Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fslpy
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD 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
FSL
fslpy
Commits
3e0f295c
Commit
3e0f295c
authored
7 years ago
by
Paul McCarthy
Browse files
Options
Downloads
Patches
Plain Diff
Trying to do tests on 3.5/3.6 - making some assumptions about gitlab-ci here.
parent
8e7af3d8
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
+31
-25
31 additions, 25 deletions
.gitlab-ci.yml
with
31 additions
and
25 deletions
.gitlab-ci.yml
+
31
−
25
View file @
3e0f295c
...
@@ -70,8 +70,8 @@ stages:
...
@@ -70,8 +70,8 @@ stages:
#
#
# - TWINE_REPOSITORY_URL: - Pypi repository to upload to
# - TWINE_REPOSITORY_URL: - Pypi repository to upload to
#
#
# - WXPYTHON_
DEBIAN8
_URL:
- Url to a location containg binary wheels
# - WXPYTHON_
UBUNTU1604
_URL: - Url to a location containg binary wheels
# for wxPython/
debian 8
# for wxPython/
ubuntu 16.04
###############################################################################
###############################################################################
...
@@ -209,6 +209,7 @@ variables:
...
@@ -209,6 +209,7 @@ variables:
.test
:
&test_template
.test
:
&test_template
stage
:
test
stage
:
test
image
:
ubuntu:16.04
<<
:
*setup_ssh
<<
:
*setup_ssh
# Releases are just tags on a release
# Releases are just tags on a release
...
@@ -230,19 +231,15 @@ variables:
...
@@ -230,19 +231,15 @@ variables:
git merge --no-commit --no-ff upstream/master;
git merge --no-commit --no-ff upstream/master;
fi;
fi;
# I am currently assuming that we are
# running a debian 8/jessie container
# (the python:2.7 and 3.6 images are
# based on this).
# We need to install xvfb, and all of
# We need to install xvfb, and all of
# the wxpython dependencies.
# the wxpython dependencies.
-
apt-get update -y
-
apt-get update -y
||
true
-
apt-get install -y xvfb libgtk2.0-0
-
apt-get install -y xvfb libgtk2.0-0
-
apt-get install -y libnotify4 freeglut3 libsdl1.2debian
-
apt-get install -y libnotify4 freeglut3 libsdl1.2debian
# Linux builds for wxPython are currently not
# Linux builds for wxPython are currently not
# on pypi, but are available at this url.
# on pypi, but are available at this url.
-
pip install --only-binary wxpython -f $WXPYTHON_
DEBIAN8
_URL wxpython
-
pip install --only-binary wxpython -f $WXPYTHON_
UBUNTU1604
_URL wxpython
# All other deps can be installed as
# All other deps can be installed as
# normal. scipy is required by nibabel,
# normal. scipy is required by nibabel,
...
@@ -285,30 +282,39 @@ variables:
...
@@ -285,30 +282,39 @@ variables:
-
python -m coverage report
-
python -m coverage report
test:2.7
:
.install_python
:
&install_python
<<
:
*test_template
before_script
:
image
:
python:2.7
-
apt-get update -y ||
true
-
apt-get install wget software-properties-common python-software-properties
-
add-apt-repository -y ppa:deadsnakes/ppa
-
apt-get update -y ||
true
-
apt-get install -y "$PYTHON_VERSION"
-
alias python="$PYTHON_VERSION"
-
wget https://bootstrap.pypa.io/get-pip.py
-
python get-pip.py
-
python -V
-
pip -V
test:
3.4
:
test:
2.7
:
<<
:
*test_template
<<
:
*test_template
image
:
python:3.4
<<
:
*install_python
variables
:
-
PYTHON_VERSION
:
"
python2.7"
test:3.5
:
<<
:
*test_template
<<
:
*install_python
variables
:
-
PYTHON_VERSION
:
"
python3.5"
# a wxphoenix/3.5 build
test:3.6
:
# is not yet available
<<
:
*test_template
# test:3.5:
<<
:
*install_python
# <<: *test_template
variables
:
# image: python:3.5
-
PYTHON_VERSION
:
"
python3.6"
# a wxphoenix/3.6 build
# is not yet available
# test:3.6:
# <<: *test_template
# image: python:3.6
#############
#############
...
...
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