Skip to content

Commit 44b9244

Browse files
authored
CLN: remove references of Travis (#41928)
1 parent 85aa89d commit 44b9244

File tree

4 files changed

+2
-20
lines changed

4 files changed

+2
-20
lines changed

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.3509134.svg)](https://doi.org/10.5281/zenodo.3509134)
1111
[![Package Status](https://img.shields.io/pypi/status/pandas.svg)](https://pypi.org/project/pandas/)
1212
[![License](https://img.shields.io/pypi/l/pandas.svg)](https://github.com/pandas-dev/pandas/blob/master/LICENSE)
13-
[![Travis Build Status](https://travis-ci.org/pandas-dev/pandas.svg?branch=master)](https://travis-ci.org/pandas-dev/pandas)
1413
[![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)
1514
[![Coverage](https://codecov.io/github/pandas-dev/pandas/coverage.svg?branch=master)](https://codecov.io/gh/pandas-dev/pandas)
1615
[![Downloads](https://anaconda.org/conda-forge/pandas/badges/downloads.svg)](https://pandas.pydata.org)

doc/source/_static/ci.png

508 KB
Loading

doc/source/development/contributing_codebase.rst

+2-8
Original file line numberDiff line numberDiff line change
@@ -407,12 +407,12 @@ pandas uses `mypy <http://mypy-lang.org>`_ to statically analyze the code base a
407407
Testing with continuous integration
408408
-----------------------------------
409409

410-
The pandas test suite will run automatically on `Travis-CI <https://travis-ci.org/>`__ and
410+
The pandas test suite will run automatically on `GitHub Actions <https://github.com/features/actions/>`__ and
411411
`Azure Pipelines <https://azure.microsoft.com/en-us/services/devops/pipelines/>`__
412412
continuous integration services, once your pull request is submitted.
413413
However, if you wish to run the test suite on a branch prior to submitting the pull request,
414414
then the continuous integration services need to be hooked to your GitHub repository. Instructions are here
415-
for `Travis-CI <http://about.travis-ci.org/docs/user/getting-started/>`__ and
415+
for `GitHub Actions <https://docs.github.com/en/actions/>`__ and
416416
`Azure Pipelines <https://docs.microsoft.com/en-us/azure/devops/pipelines/>`__.
417417

418418
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.
421421

422422
.. image:: ../_static/ci.png
423423

424-
.. note::
425-
426-
Each time you push to *your* fork, a *new* run of the tests will be triggered on the CI.
427-
You can enable the auto-cancel feature, which removes any non-currently-running tests for that same pull-request, for
428-
`Travis-CI here <https://docs.travis-ci.com/user/customizing-the-build/#Building-only-the-latest-commit>`__.
429-
430424
.. _contributing.tdd:
431425

432426

pandas/tests/io/test_gbq.py

-11
Original file line numberDiff line numberDiff line change
@@ -35,22 +35,11 @@ def _skip_if_no_private_key_path():
3535
pytest.skip("Cannot run integration tests without a private key json file path")
3636

3737

38-
def _in_travis_environment():
39-
return "TRAVIS_BUILD_DIR" in os.environ and "GBQ_PROJECT_ID" in os.environ
40-
41-
4238
def _get_project_id():
43-
if _in_travis_environment():
44-
return os.environ.get("GBQ_PROJECT_ID")
4539
return PROJECT_ID or os.environ.get("GBQ_PROJECT_ID")
4640

4741

4842
def _get_private_key_path():
49-
if _in_travis_environment():
50-
return os.path.join(
51-
*[os.environ.get("TRAVIS_BUILD_DIR"), "ci", "travis_gbq.json"]
52-
)
53-
5443
private_key_path = PRIVATE_KEY_JSON_PATH
5544
if not private_key_path:
5645
private_key_path = os.environ.get("GBQ_GOOGLE_APPLICATION_CREDENTIALS")

0 commit comments

Comments
 (0)