Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
persistent
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
persistent
Commits
56db083a
Commit
56db083a
authored
Apr 21, 2017
by
Forest Gregg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CI setup for manylinux wheels on tagged commit
parent
f51c2576
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
45 additions
and
1 deletion
+45
-1
.manylinux-install.sh
.manylinux-install.sh
+21
-0
.manylinux.sh
.manylinux.sh
+9
-0
.travis.yml
.travis.yml
+15
-1
No files found.
.manylinux-install.sh
0 → 100755
View file @
56db083a
#!/usr/bin/env bash
set
-e
-x
# Compile wheels
for
PYBIN
in
/opt/python/
*
/bin
;
do
if
[[
"
${
PYBIN
}
"
==
*
"cp27"
*
]]
||
\
[[
"
${
PYBIN
}
"
==
*
"cp33"
*
]]
||
\
[[
"
${
PYBIN
}
"
==
*
"cp34"
*
]]
||
\
[[
"
${
PYBIN
}
"
==
*
"cp35"
*
]]
||
\
[[
"
${
PYBIN
}
"
==
*
"cp36"
*
]]
;
then
"
${
PYBIN
}
/pip"
install
-e
/io/
"
${
PYBIN
}
/pip"
wheel /io/
-w
wheelhouse/
fi
done
# Bundle external shared libraries into the wheels
for
whl
in
wheelhouse/persistent
*
.whl
;
do
auditwheel repair
"
$whl
"
-w
/io/wheelhouse/
done
.manylinux.sh
0 → 100644
View file @
56db083a
#!/usr/bin/env bash
set
-e
-x
docker pull
$DOCKER_IMAGE
docker run
--rm
-v
`
pwd
`
:/io
$DOCKER_IMAGE
$PRE_CMD
/io/.manylinux-install.sh
pip
install
twine
&&
twine upload
-u
zope.wheelbuilder
-p
$PYPIPASSWORD
wheelhouse/
*
.travis.yml
View file @
56db083a
...
@@ -31,11 +31,25 @@ matrix:
...
@@ -31,11 +31,25 @@ matrix:
-
os
:
osx
-
os
:
osx
language
:
generic
language
:
generic
env
:
TERRYFY_PYTHON='macpython 3.6.0'
env
:
TERRYFY_PYTHON='macpython 3.6.0'
-
services
:
-
docker
env
:
DOCKER_IMAGE=quay.io/pypa/manylinux1_x86_64
before_install
:
-
if [[ $TRAVIS_TAG ]]; then bash .manylinux.sh; fi
-
exit
0
-
services
:
-
docker
env
:
-
DOCKER_IMAGE=quay.io/pypa/manylinux1_i686
-
PRE_CMD=linux32
before_install
:
-
if [[ $TRAVIS_TAG ]]; then bash .manylinux.sh; fi
-
exit
0
before_install
:
before_install
:
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then git clone https://github.com/MacPython/terryfy; fi
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then git clone https://github.com/MacPython/terryfy; fi
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then source terryfy/travis_tools.sh; fi
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then source terryfy/travis_tools.sh; fi
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then get_python_environment $TERRYFY_PYTHON venv; fi
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then get_python_environment $TERRYFY_PYTHON venv; fi
-
if [[ "$TERRYFY_PYTHON" == "homebrew 3" ]]; then alias pip=`which pip3` ; fi
install
:
install
:
-
pip install -e .
-
pip install -e .
script
:
script
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment