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
055b7036
Commit
055b7036
authored
7 years ago
by
Paul McCarthy
Browse files
Options
Downloads
Patches
Plain Diff
More sighs
parent
2dd66802
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+14
-13
14 additions, 13 deletions
.gitlab-ci.yml
with
14 additions
and
13 deletions
.gitlab-ci.yml
+
14
−
13
View file @
055b7036
...
@@ -220,18 +220,14 @@ variables:
...
@@ -220,18 +220,14 @@ variables:
script
:
script
:
# Install $PY
THON
_VERSION
# Install $PY_VERSION
-
apt-get update -y ||
true
-
apt-get update -y ||
true
-
apt-get install -y wget software-properties-common python-software-properties
-
apt-get install -y wget software-properties-common python-software-properties
-
add-apt-repository -y ppa:deadsnakes/ppa
-
add-apt-repository -y ppa:deadsnakes/ppa
-
apt-get update -y ||
true
-
apt-get update -y ||
true
-
apt-get install -y "$PYTHON_VERSION"
-
apt-get install -y $PY_VERSION $PY_PACKAGES
-
rm -f /usr/bin/python
-
$PY_VENV test.venv
-
ln -s /usr/bin/"$PYTHON_VERSION" /usr/bin/python
-
source test.venv/bin/activate
-
wget https://bootstrap.pypa.io/get-pip.py
-
python get-pip.py
-
python -V
-
pip -V
# If running on a fork repository, we merge in the
# If running on a fork repository, we merge in the
# upstream/master branch. This is done so that merge
# upstream/master branch. This is done so that merge
...
@@ -246,8 +242,7 @@ variables:
...
@@ -246,8 +242,7 @@ variables:
# 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 ||
true
-
apt-get update -y ||
true
-
apt-get install -y xvfb libgtk2.0-0
-
apt-get install -y xvfb libgtk2.0-0 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.
...
@@ -297,19 +292,25 @@ variables:
...
@@ -297,19 +292,25 @@ variables:
test:2.7
:
test:2.7
:
<<
:
*test_template
<<
:
*test_template
variables
:
variables
:
PYTHON_VERSION
:
"
python2.7"
PY_VERSION
:
"
python2.7"
PY_PACKAGES
:
"
python-pip
python-virtualenv"
PY_VENV
:
"
virtualenv"
test:3.5
:
test:3.5
:
<<
:
*test_template
<<
:
*test_template
variables
:
variables
:
PYTHON_VERSION
:
"
python3.5"
PY_VERSION
:
"
python3.5"
PY_PACKAGES
:
"
python3-pip
python3-virtualenv"
PY_VENV
:
"
python3.5
-m
venv"
test:3.6
:
test:3.6
:
<<
:
*test_template
<<
:
*test_template
variables
:
variables
:
PYTHON_VERSION
:
"
python3.6"
PY_VERSION
:
"
python3.6"
PY_PACKAGES
:
"
python3-pip
python3-virtualenv"
PY_VENV
:
"
python3.6
-m
venv"
#############
#############
...
...
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