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
99ad7ca3
Commit
99ad7ca3
authored
Apr 18, 2020
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tweak path and concurrency for macOS builds.
parent
32cf7f3d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
.travis.yml
.travis.yml
+4
-1
src/gevent/testing/testrunner.py
src/gevent/testing/testrunner.py
+2
-1
No files found.
.travis.yml
View file @
99ad7ca3
...
@@ -25,6 +25,7 @@ env:
...
@@ -25,6 +25,7 @@ env:
# Don't get warnings about Python 2 support being deprecated. We
# Don't get warnings about Python 2 support being deprecated. We
# know. The env var works for pip 20.
# know. The env var works for pip 20.
-
PIP_NO_PYTHON_VERSION_WARNING=1
-
PIP_NO_PYTHON_VERSION_WARNING=1
-
PIP_NO_WARN_SCRIPT_LOCATION=1
-
CC="ccache gcc"
-
CC="ccache gcc"
-
CCACHE_NOCPP2=true
-
CCACHE_NOCPP2=true
-
CCACHE_SLOPPINESS=file_macro,time_macros,include_file_ctime,include_file_mtime
-
CCACHE_SLOPPINESS=file_macro,time_macros,include_file_ctime,include_file_mtime
...
@@ -33,7 +34,7 @@ env:
...
@@ -33,7 +34,7 @@ env:
-
GEVENTSETUP_EV_VERIFY=2
-
GEVENTSETUP_EV_VERIFY=2
# Disable some warnings produced by libev especially and also some Cython generated code.
# Disable some warnings produced by libev especially and also some Cython generated code.
# Note that changing the value of these variables invalidates configure caches
# Note that changing the value of these variables invalidates configure caches
-
CFLAGS="-
g
-pipe -Wno-strict-aliasing -Wno-comment"
-
CFLAGS="-
Ofast
-pipe -Wno-strict-aliasing -Wno-comment"
-
CPPFLAGS="-I$BUILD_LIBS/include -DEV_VERIFY=3"
-
CPPFLAGS="-I$BUILD_LIBS/include -DEV_VERIFY=3"
-
LDFLAGS="-L$BUILD_LIBS/lib"
-
LDFLAGS="-L$BUILD_LIBS/lib"
-
LD_LIBRARY_PATH="$BUILD_LIBS/lib"
-
LD_LIBRARY_PATH="$BUILD_LIBS/lib"
...
@@ -93,6 +94,8 @@ before_install:
...
@@ -93,6 +94,8 @@ before_install:
-
|
-
|
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew install ccache
brew install ccache
export PATH="/usr/local/opt/ccache/libexec:$PATH"
export CFLAGS="$CFLAGS -Wno-parentheses-equality"
fi
fi
before_script
:
before_script
:
...
...
src/gevent/testing/testrunner.py
View file @
99ad7ca3
...
@@ -19,6 +19,7 @@ from .sysinfo import PYPY
...
@@ -19,6 +19,7 @@ from .sysinfo import PYPY
from
.sysinfo
import
PY2
from
.sysinfo
import
PY2
from
.sysinfo
import
RESOLVER_ARES
from
.sysinfo
import
RESOLVER_ARES
from
.sysinfo
import
RUN_LEAKCHECKS
from
.sysinfo
import
RUN_LEAKCHECKS
from
.sysinfo
import
OSX
from
.
import
six
from
.
import
six
from
.
import
travis
from
.
import
travis
...
@@ -50,7 +51,7 @@ DEFAULT_RUN_OPTIONS = {
...
@@ -50,7 +51,7 @@ DEFAULT_RUN_OPTIONS = {
if
RUNNING_ON_CI
:
if
RUNNING_ON_CI
:
# Too many and we get spurious timeouts
# Too many and we get spurious timeouts
DEFAULT_NWORKERS
=
4
DEFAULT_NWORKERS
=
4
if
not
OSX
else
2
def
_package_relative_filename
(
filename
,
package
):
def
_package_relative_filename
(
filename
,
package
):
...
...
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