Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
relate
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
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
Andreas Klöckner
relate
Commits
6c041111
There was a problem fetching the pipeline summary.
Commit
6c041111
authored
8 years ago
by
Andreas Klöckner
Browse files
Options
Downloads
Patches
Plain Diff
Docs and CI: Work around dnspython Py2/3 idiocy
parent
bd246f3c
No related branches found
No related tags found
No related merge requests found
Pipeline
#
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/misc.rst
+2
-1
2 additions, 1 deletion
doc/misc.rst
run-tests-for-ci.sh
+11
-1
11 additions, 1 deletion
run-tests-for-ci.sh
with
13 additions
and
2 deletions
doc/misc.rst
+
2
−
1
View file @
6c041111
...
...
@@ -21,7 +21,8 @@ Enter the relate directory::
cd relate
Install the dependencies::
Edit :file:`requirements.txt` to choose a version of `dnspython`, then install
the dependencies::
pip install -r requirements.txt
...
...
This diff is collapsed.
Click to expand it.
run-tests-for-ci.sh
+
11
−
1
View file @
6c041111
#! /bin/bash
set
-e
echo
"-----------------------------------------------"
echo
"Current directory:
$(
pwd
)
"
echo
"Python executable:
${
PY_EXE
}
"
...
...
@@ -54,7 +56,15 @@ export PATH=`pwd`/.env/local/bin:$PATH
PIP
=
"
${
PY_EXE
}
$(
which pip
)
"
$PIP
install
-r
requirements.txt
grep
-v
dnspython requirements.txt
>
req.txt
if
[[
"
$PY_EXE
"
=
"python2*"
]]
;
then
$PIP
install
dnspython
else
$PIP
install
dnspython3
fi
$PIP
install
-r
req.txt
cp
local_settings.py.example local_settings.py
cd test
...
...
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