Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
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
gevent
Commits
bdedf0ef
Commit
bdedf0ef
authored
Nov 13, 2018
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Go back to building the wheel first, and use pip to reduce the output unless it fails [skip travis]
parent
b9afdcf7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
9 deletions
+20
-9
appveyor.yml
appveyor.yml
+20
-9
No files found.
appveyor.yml
View file @
bdedf0ef
clone_depth
:
50
environment
:
global
:
# SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the
...
...
@@ -9,6 +10,11 @@ environment:
# Pre-installed Python versions, which Appveyor may upgrade to
# a later point release.
-
PYTHON
:
"
C:
\\
pypy2-v6.0.0-win32"
PYTHON_ID
:
"
pypy"
PYTHON_EXE
:
pypy
PYTHON_VERSION
:
"
2.7.x"
PYTHON_ARCH
:
"
32"
-
PYTHON
:
"
C:
\\
Python37-x64"
PYTHON_VERSION
:
"
3.7.x"
...
...
@@ -25,12 +31,6 @@ environment:
PYTHON_ARCH
:
"
64"
PYTHON_EXE
:
python
-
PYTHON
:
"
C:
\\
pypy2-v6.0.0-win32"
PYTHON_ID
:
"
pypy"
PYTHON_EXE
:
pypy
PYTHON_VERSION
:
"
2.7.x"
PYTHON_ARCH
:
"
32"
-
PYTHON
:
"
C:
\\
Python34-x64"
PYTHON_VERSION
:
"
3.4.x"
# currently 3.4.4
PYTHON_ARCH
:
"
64"
...
...
@@ -138,7 +138,15 @@ cache:
-
'
%LOCALAPPDATA%\pip\Cache'
build_script
:
-
"
%PYEXE%
-m
pip
install
-U
--upgrade-strategy=eager
.[test,events,dnspython]"
# Build the compiled extension
-
"
%CMD_IN_ENV%
%PYEXE%
-m
pip
wheel
.
-w
dist"
-
ps
:
"
ls
dist"
# Now install the wheel.
# I couldn't get wildcards to work for pip install, so stuff it
# into a variable, using python to glob.
-
"
%PYEXE%
-c
\"
import
glob;
print(glob.glob('dist/gevent*whl')[0])
\"
>
whl.txt"
-
set /p PYWHL=<whl.txt
-
"
%PYEXE%
-m
pip
install
-U
--upgrade-strategy=eager
%PYWHL%[test,events,dnspython]"
test_script
:
# Run the project tests
...
...
@@ -147,12 +155,15 @@ test_script:
-
"
%PYEXE%
-mgevent.tests
--config
known_failures.py
--quiet"
after_test
:
-
"
%CMD_IN_ENV%
%PYEXE%
setup.py
bdist_wheel"
# We already built the wheel during build_script, because it's
# much faster to do that and install from the wheel than to
# rebuild it here
#- "%CMD_IN_ENV% %PYEXE% setup.py bdist_wheel bdist_wininst"
-
ps
:
"
ls
dist"
artifacts
:
# Archive the generated wheel package in the ci.appveyor.com build report.
-
path
:
dist\*whl
-
path
:
dist\
gevent
*whl
#on_success:
# - TODO: upload the content of dist/*.whl to a public wheelhouse
...
...
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