Skip to content

Commit 574eb52

Browse files
authored
Configure CircleCI (#15)
* Configure CircleCI to run nox sessions. * Remove ci directory. It is unnecessary now that we use nox sessions in the CircleCI config. * Test on Python 3.5 * Remove stray references to pandas-gbq leftover from the original fork.
1 parent 6e62db1 commit 574eb52

25 files changed

+72
-260
lines changed

.circleci/config.yml

Lines changed: 36 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -4,49 +4,47 @@
44
#
55
version: 2
66
jobs:
7-
build:
7+
"unit-2.7":
88
docker:
9-
# specify the version you desire here
10-
# use `-browsers` prefix for selenium tests, e.g. `3.6.1-browsers`
11-
- image: circleci/python:3.6.1
12-
13-
# Specify service dependencies here if necessary
14-
# CircleCI maintains a library of pre-built images
15-
# documented at https://circleci.com/docs/2.0/circleci-images/
16-
# - image: circleci/postgres:9.4
17-
18-
working_directory: ~/repo
19-
9+
- image: thekevjames/nox
2010
steps:
2111
- checkout
12+
- run: nox -s unit-2.7
2213

23-
# Download and cache dependencies
24-
- restore_cache:
25-
keys:
26-
- v1-dependencies-{{ checksum "requirements.txt" }}
27-
# fallback to using the latest cache if no exact match is found
28-
- v1-dependencies-
14+
"unit-3.5":
15+
docker:
16+
- image: thekevjames/nox
17+
steps:
18+
- checkout
19+
- run: nox -s unit-3.5
2920

30-
- run:
31-
name: install dependencies
32-
command: |
33-
python3 -m venv venv
34-
. venv/bin/activate
35-
pip install -r ci/requirements-3.6-MASTER.pip
36-
pip install -e .
21+
"unit-3.6":
22+
docker:
23+
- image: thekevjames/nox
24+
steps:
25+
- checkout
26+
- run: nox -s unit-3.6
3727

38-
- save_cache:
39-
paths:
40-
- ./venv
41-
key: v1-dependencies-{{ checksum "requirements.txt" }}
28+
"unit-3.7":
29+
docker:
30+
- image: thekevjames/nox
31+
steps:
32+
- checkout
33+
- run: nox -s unit-3.7 cover
4234

43-
# run tests!
44-
- run:
45-
name: run tests
46-
command: |
47-
. venv/bin/activate
48-
pytest tests/unit
35+
"lint":
36+
docker:
37+
- image: thekevjames/nox
38+
steps:
39+
- checkout
40+
- run: nox -s lint
4941

50-
- store_artifacts:
51-
path: test-reports
52-
destination: test-reports
42+
workflows:
43+
version: 2
44+
build:
45+
jobs:
46+
- "unit-2.7"
47+
- "unit-3.5"
48+
- "unit-3.6"
49+
- "unit-3.7"
50+
- lint

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pandas_gbq/_version.py export-subst
1+
pydata_google_auth/_version.py export-subst

.travis.yml

Lines changed: 0 additions & 55 deletions
This file was deleted.

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Contributing
22

3-
See the [contributing guide in the pandas-gbq
4-
docs](http://pandas-gbq.readthedocs.io/en/latest/contributing.html).
3+
See the [contributing guide in the pydata-google-auth
4+
docs](http://pydata-google-auth.readthedocs.io/en/latest/contributing.html).
55

MANIFEST.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ include README.rst
33
include LICENSE.txt
44
include setup.py
55

6-
graft pandas_gbq
6+
graft pydata_google_auth
77

88
global-exclude *.so
99
global-exclude *.pyd
@@ -15,4 +15,4 @@ global-exclude .DS_Store
1515
global-exclude *.png
1616

1717
include versioneer.py
18-
include pandas_gbq/_version.py
18+
include pydata_google_auth/_version.py

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ authenticate to Google APIs with user credentials.
5252
5353
See the `pydata-google-auth documentation <https://pydata-google-auth.readthedocs.io/>`_ for more details.
5454

55-
.. |Build Status| image:: https://travis-ci.org/pydata/pydata-google-auth.svg?branch=master
56-
:target: https://travis-ci.org/pydata/pydata-google-auth
55+
.. |Build Status| image:: https://circleci.com/gh/pydata/pydata-google-auth/tree/master.svg?style=svg
56+
:target: https://circleci.com/gh/pydata/pydata-google-auth/tree/master
5757
.. |Version Status| image:: https://img.shields.io/pypi/v/pydata-google-auth.svg
5858
:target: https://pypi.python.org/pypi/pydata-google-auth/
5959
.. |Coverage Status| image:: https://img.shields.io/codecov/c/github/pydata/pydata-google-auth.svg

ci/requirements-2.7-0.19.2.pip

Lines changed: 0 additions & 10 deletions
This file was deleted.

ci/requirements-3.5-0.18.1.pip

Lines changed: 0 additions & 8 deletions
This file was deleted.

ci/requirements-3.6-0.20.1.conda

Lines changed: 0 additions & 8 deletions
This file was deleted.

ci/requirements-3.6-MASTER.pip

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)