Skip to content

Commit 574eb52

Browse files
authoredFeb 1, 2019
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

+36-38
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

+1-1
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

-55
This file was deleted.

‎CONTRIBUTING.md

+2-2
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

+2-2
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

+2-2
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

-10
This file was deleted.

‎ci/requirements-3.5-0.18.1.pip

-8
This file was deleted.

‎ci/requirements-3.6-0.20.1.conda

-8
This file was deleted.

‎ci/requirements-3.6-MASTER.pip

-8
This file was deleted.

‎ci/travis_encrypt_gbq.sh

-34
This file was deleted.

‎ci/travis_gbq.json.enc

-2.3 KB
Binary file not shown.

‎ci/travis_gbq_config.txt

-2
This file was deleted.

‎ci/travis_process_gbq_encryption.sh

-13
This file was deleted.

‎docs/README.rst

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
To build a local copy of the pandas-gbq docs, install the programs in
1+
To build a local copy of the pydata-google-auth docs, install the programs in
22
requirements-docs.txt and run 'make html'. If you use the conda package manager
33
these commands suffice::
44

5-
git clone git@github.com:pydata/pandas-gbq.git
6-
cd dask/docs
7-
conda create -n pandas-gbq-docs --file requirements-docs.txt
8-
source activate pandas-gbq-docs
5+
git clone git@github.com:pydata/pydata-google-auth.git
6+
cd pydata-google-docs/docs/source
7+
conda create -n pydata-google-auth-docs --file ../requirements-docs.txt
8+
source activate pydata-google-auth-docs
99
make html
10-
open build/html/index.html
10+
open _build/html/index.html

‎docs/requirements-docs.txt

-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,3 @@ matplotlib
33
numpydoc
44
sphinx
55
sphinx_rtd_theme
6-
pandas

‎docs/source/Makefile

+4-4
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@ qthelp:
9191
@echo
9292
@echo "Build finished; now you can run "qcollectiongenerator" with the" \
9393
".qhcp project file in $(BUILDDIR)/qthelp, like this:"
94-
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/pandas-gbq.qhcp"
94+
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/pydata-google-auth.qhcp"
9595
@echo "To view the help file:"
96-
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/pandas-gbq.qhc"
96+
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/pydata-google-auth.qhc"
9797

9898
.PHONY: applehelp
9999
applehelp:
@@ -110,8 +110,8 @@ devhelp:
110110
@echo
111111
@echo "Build finished."
112112
@echo "To view the help file:"
113-
@echo "# mkdir -p $$HOME/.local/share/devhelp/pandas-gbq"
114-
@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/pandas-gbq"
113+
@echo "# mkdir -p $$HOME/.local/share/devhelp/pydata-google-auth"
114+
@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/pydata-google-auth"
115115
@echo "# devhelp"
116116

117117
.PHONY: epub

‎docs/source/conf.py

-1
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,6 @@
376376
# Configuration for intersphinx:
377377
intersphinx_mapping = {
378378
"https://docs.python.org/": None,
379-
"https://pandas.pydata.org/pandas-docs/stable/": None,
380379
"https://google-auth.readthedocs.io/en/latest/": None,
381380
"https://google-auth-oauthlib.readthedocs.io/en/latest/": None,
382381
}

0 commit comments

Comments
 (0)
Please sign in to comment.