File tree Expand file tree Collapse file tree 4 files changed +2
-20
lines changed Expand file tree Collapse file tree 4 files changed +2
-20
lines changed Original file line number Diff line number Diff line change 10
10
[ ![ DOI] ( https://zenodo.org/badge/DOI/10.5281/zenodo.3509134.svg )] ( https://doi.org/10.5281/zenodo.3509134 )
11
11
[ ![ Package Status] ( https://img.shields.io/pypi/status/pandas.svg )] ( https://pypi.org/project/pandas/ )
12
12
[ ![ 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 )
14
13
[ ![ 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 )
15
14
[ ![ Coverage] ( https://codecov.io/github/pandas-dev/pandas/coverage.svg?branch=master )] ( https://codecov.io/gh/pandas-dev/pandas )
16
15
[ ![ Downloads] ( https://anaconda.org/conda-forge/pandas/badges/downloads.svg )] ( https://pandas.pydata.org )
Original file line number Diff line number Diff line change @@ -407,12 +407,12 @@ pandas uses `mypy <http://mypy-lang.org>`_ to statically analyze the code base a
407
407
Testing with continuous integration
408
408
-----------------------------------
409
409
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
411
411
`Azure Pipelines <https://azure.microsoft.com/en-us/services/devops/pipelines/ >`__
412
412
continuous integration services, once your pull request is submitted.
413
413
However, if you wish to run the test suite on a branch prior to submitting the pull request,
414
414
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
416
416
`Azure Pipelines <https://docs.microsoft.com/en-us/azure/devops/pipelines/ >`__.
417
417
418
418
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.
421
421
422
422
.. image :: ../_static/ci.png
423
423
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
-
430
424
.. _contributing.tdd :
431
425
432
426
Original file line number Diff line number Diff line change @@ -35,22 +35,11 @@ def _skip_if_no_private_key_path():
35
35
pytest .skip ("Cannot run integration tests without a private key json file path" )
36
36
37
37
38
- def _in_travis_environment ():
39
- return "TRAVIS_BUILD_DIR" in os .environ and "GBQ_PROJECT_ID" in os .environ
40
-
41
-
42
38
def _get_project_id ():
43
- if _in_travis_environment ():
44
- return os .environ .get ("GBQ_PROJECT_ID" )
45
39
return PROJECT_ID or os .environ .get ("GBQ_PROJECT_ID" )
46
40
47
41
48
42
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
-
54
43
private_key_path = PRIVATE_KEY_JSON_PATH
55
44
if not private_key_path :
56
45
private_key_path = os .environ .get ("GBQ_GOOGLE_APPLICATION_CREDENTIALS" )
You can’t perform that action at this time.
0 commit comments