From 714070e2b2bf219a7c3ebe84ee27c3e31a135fa8 Mon Sep 17 00:00:00 2001 From: AN Long Date: Wed, 28 Feb 2024 18:05:17 +0800 Subject: [PATCH] Remove travis --- .travis.yml | 34 ---------------------------------- README.rst | 5 +---- docs/index.rst | 2 +- tests/test_socket.py | 2 -- 4 files changed, 2 insertions(+), 41 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 00a58022..00000000 --- a/.travis.yml +++ /dev/null @@ -1,34 +0,0 @@ -language: python - -python: - - 2.7 - - 3.4 - - pypy - - pypy3 - -matrix: - include: - - python: 3.5 - script: tox -e py35 - - python: 3.6 - script: tox -e flake8 - - python: 3.6 - script: tox -e coverage - - python: 3.7 - script: tox -e py37 - - python: 3.8 - script: tox -e py38 - - python: 3.9 - script: tox -e py39 - -before_install: - - sudo apt-get install -y python-dev gcc - -install: - - pip install cython tox codecov - -script: - - tox -e py - -after_success: - - cd tests && codecov diff --git a/README.rst b/README.rst index 2ad6a2ff..80e7458f 100644 --- a/README.rst +++ b/README.rst @@ -2,9 +2,6 @@ ThriftPy2 ============ -.. image:: https://travis-ci.com/Thriftpy/thriftpy2.svg?branch=develop - :target: https://travis-ci.com/Thriftpy/thriftpy2 - .. image:: https://img.shields.io/codecov/c/github/Thriftpy/thriftpy2.svg :target: https://codecov.io/gh/Thriftpy/thriftpy2 @@ -204,7 +201,7 @@ Contribute 2. Write a test which shows a bug was fixed or the feature works as expected. -3. Make sure ``travis-ci`` or ``tox`` tests succeed. +3. Make sure ``tox`` tests succeed. 4. Send pull request. diff --git a/docs/index.rst b/docs/index.rst index e2bb0bde..2b333743 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -214,7 +214,7 @@ Contribute 2. Write a test which shows a bug was fixed or the feature works as expected. -3. Make sure travis-ci test succeed. +3. Make sure ``tox`` test succeed. 4. Send pull request. diff --git a/tests/test_socket.py b/tests/test_socket.py index 3e45bd90..5532ffce 100644 --- a/tests/test_socket.py +++ b/tests/test_socket.py @@ -103,8 +103,6 @@ def test_close__close_OSError(self): assert server_socket.sock is None -@pytest.mark.skipif(os.getenv('TRAVIS', '') == 'true', - reason='Travis CI dose not support IPv6') def test_inet6_socket(): server_socket = TServerSocket(host="::1", port=12345, socket_family=socket.AF_INET6)