Skip to content

Commit

Permalink
Test 3.6.7 and 3.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jamadden committed Nov 2, 2018
1 parent 7b6af6f commit f8f2e59
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 15 deletions.
8 changes: 4 additions & 4 deletions Makefile
Expand Up @@ -130,8 +130,8 @@ PY278=$(BUILD_RUNTIMES)/snakepit/python2.7.8
PY27=$(BUILD_RUNTIMES)/snakepit/python2.7.15
PY34=$(BUILD_RUNTIMES)/snakepit/python3.4.8
PY35=$(BUILD_RUNTIMES)/snakepit/python3.5.5
PY36=$(BUILD_RUNTIMES)/snakepit/python3.6.6
PY37=$(BUILD_RUNTIMES)/snakepit/python3.7.0
PY36=$(BUILD_RUNTIMES)/snakepit/python3.6.7
PY37=$(BUILD_RUNTIMES)/snakepit/python3.7.1
PYPY=$(BUILD_RUNTIMES)/snakepit/pypy600
PYPY3=$(BUILD_RUNTIMES)/snakepit/pypy3.5_600

Expand Down Expand Up @@ -194,10 +194,10 @@ test-py35: $(PY35)
PYTHON=python3.5.5 PATH=$(BUILD_RUNTIMES)/versions/python3.5.5/bin:$(PATH) make develop basictest

test-py36: $(PY36)
PYTHON=python3.6.6 PATH=$(BUILD_RUNTIMES)/versions/python3.6.6/bin:$(PATH) make develop lint allbackendtest
PYTHON=python3.6.7 PATH=$(BUILD_RUNTIMES)/versions/python3.6.7/bin:$(PATH) make develop lint allbackendtest

test-py37: $(PY37)
LD_LIBRARY_PATH=$(BUILD_RUNTIMES)/versions/python3.7.0/openssl/lib PYTHON=python3.7.0 PATH=$(BUILD_RUNTIMES)/versions/python3.7.0/bin:$(PATH) make develop leaktest cffibackendtest coverage_combine
LD_LIBRARY_PATH=$(BUILD_RUNTIMES)/versions/python3.7.1/openssl/lib PYTHON=python3.7.1 PATH=$(BUILD_RUNTIMES)/versions/python3.7.1/bin:$(PATH) make develop leaktest cffibackendtest coverage_combine

test-pypy: $(PYPY)
PYTHON=$(PYPY) PATH=$(BUILD_RUNTIMES)/versions/pypy600/bin:$(PATH) make develop cffibackendtest
Expand Down
6 changes: 3 additions & 3 deletions scripts/install.sh
Expand Up @@ -49,7 +49,7 @@ PYENV=$BASE/pyenv

# The file for 3.7b1 shipped with pyenv on Feb 6 2018
# won't compile on Travis. So we use a forked version that
# compiles openssl for us. We also beat them to the punch for 3.7b2, b3, b4
# compiles openssl for us. We also beat them to the punch for 3.7b2, b3, b4, .0, .1
# https://github.com/travis-ci/travis-ci/issues/9069

if [ ! -d "$PYENV/.git" ]; then
Expand Down Expand Up @@ -105,10 +105,10 @@ for var in "$@"; do
install 3.5.5 python3.5.5
;;
3.6)
install 3.6.6 python3.6.6
install 3.6.7 python3.6.7
;;
3.7)
install 3.7.0 python3.7.0
install 3.7.1 python3.7.1
;;
pypy)
install pypy2.7-6.0.0 pypy600
Expand Down
21 changes: 13 additions & 8 deletions src/greentest/test__socket_send_memoryview.py
@@ -1,4 +1,5 @@
# See issue #466
import unittest
import ctypes


Expand All @@ -20,15 +21,19 @@ def _send(socket):
getattr(sock, meth)(anStructure)
sock.close()

def TestSendBuiltinSocket():
import socket
_send(socket)
class TestSendBuiltinSocket(unittest.TestCase):

def test_send(self):
import socket
_send(socket)


class TestSendGeventSocket(unittest.TestCase):

def test_send(self):
import gevent.socket
_send(gevent.socket)

def TestSendGeventSocket():
import gevent.socket
_send(gevent.socket)

if __name__ == '__main__':
TestSendBuiltinSocket()
TestSendGeventSocket()
unittest.main()

0 comments on commit f8f2e59

Please sign in to comment.