diff --git a/README.md b/README.md index c3db8499af75a..04b346c198e90 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,6 @@ [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.3509134.svg)](https://doi.org/10.5281/zenodo.3509134) [![Package Status](https://img.shields.io/pypi/status/pandas.svg)](https://pypi.org/project/pandas/) [![License](https://img.shields.io/pypi/l/pandas.svg)](https://github.com/pandas-dev/pandas/blob/master/LICENSE) -[![Travis Build Status](https://travis-ci.org/pandas-dev/pandas.svg?branch=master)](https://travis-ci.org/pandas-dev/pandas) [![Azure Build Status](https://dev.azure.com/pandas-dev/pandas/_apis/build/status/pandas-dev.pandas?branch=master)](https://dev.azure.com/pandas-dev/pandas/_build/latest?definitionId=1&branch=master) [![Coverage](https://codecov.io/github/pandas-dev/pandas/coverage.svg?branch=master)](https://codecov.io/gh/pandas-dev/pandas) [![Downloads](https://anaconda.org/conda-forge/pandas/badges/downloads.svg)](https://pandas.pydata.org) diff --git a/doc/source/_static/ci.png b/doc/source/_static/ci.png index 3a4225e3ce1eb..4754dc2945db5 100644 Binary files a/doc/source/_static/ci.png and b/doc/source/_static/ci.png differ diff --git a/doc/source/development/contributing_codebase.rst b/doc/source/development/contributing_codebase.rst index de4ed20e26726..e812aaa760a8f 100644 --- a/doc/source/development/contributing_codebase.rst +++ b/doc/source/development/contributing_codebase.rst @@ -407,12 +407,12 @@ pandas uses `mypy `_ to statically analyze the code base a Testing with continuous integration ----------------------------------- -The pandas test suite will run automatically on `Travis-CI `__ and +The pandas test suite will run automatically on `GitHub Actions `__ and `Azure Pipelines `__ continuous integration services, once your pull request is submitted. However, if you wish to run the test suite on a branch prior to submitting the pull request, then the continuous integration services need to be hooked to your GitHub repository. Instructions are here -for `Travis-CI `__ and +for `GitHub Actions `__ and `Azure Pipelines `__. A pull-request will be considered for merging when you have an all 'green' build. If any tests are failing, @@ -421,12 +421,6 @@ This is an example of a green build. .. image:: ../_static/ci.png -.. note:: - - Each time you push to *your* fork, a *new* run of the tests will be triggered on the CI. - You can enable the auto-cancel feature, which removes any non-currently-running tests for that same pull-request, for - `Travis-CI here `__. - .. _contributing.tdd: diff --git a/pandas/tests/io/test_gbq.py b/pandas/tests/io/test_gbq.py index a244f3904553d..e6be3f0567f67 100644 --- a/pandas/tests/io/test_gbq.py +++ b/pandas/tests/io/test_gbq.py @@ -35,22 +35,11 @@ def _skip_if_no_private_key_path(): pytest.skip("Cannot run integration tests without a private key json file path") -def _in_travis_environment(): - return "TRAVIS_BUILD_DIR" in os.environ and "GBQ_PROJECT_ID" in os.environ - - def _get_project_id(): - if _in_travis_environment(): - return os.environ.get("GBQ_PROJECT_ID") return PROJECT_ID or os.environ.get("GBQ_PROJECT_ID") def _get_private_key_path(): - if _in_travis_environment(): - return os.path.join( - *[os.environ.get("TRAVIS_BUILD_DIR"), "ci", "travis_gbq.json"] - ) - private_key_path = PRIVATE_KEY_JSON_PATH if not private_key_path: private_key_path = os.environ.get("GBQ_GOOGLE_APPLICATION_CREDENTIALS")