Skip to content

Configure CircleCI #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Feb 1, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 36 additions & 38 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,49 +4,47 @@
#
version: 2
jobs:
build:
"unit-2.7":
docker:
# specify the version you desire here
# use `-browsers` prefix for selenium tests, e.g. `3.6.1-browsers`
- image: circleci/python:3.6.1

# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
# - image: circleci/postgres:9.4

working_directory: ~/repo

- image: thekevjames/nox
steps:
- checkout
- run: nox -s unit-2.7

# Download and cache dependencies
- restore_cache:
keys:
- v1-dependencies-{{ checksum "requirements.txt" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-
"unit-3.5":
docker:
- image: thekevjames/nox
steps:
- checkout
- run: nox -s unit-3.5

- run:
name: install dependencies
command: |
python3 -m venv venv
. venv/bin/activate
pip install -r ci/requirements-3.6-MASTER.pip
pip install -e .
"unit-3.6":
docker:
- image: thekevjames/nox
steps:
- checkout
- run: nox -s unit-3.6

- save_cache:
paths:
- ./venv
key: v1-dependencies-{{ checksum "requirements.txt" }}
"unit-3.7":
docker:
- image: thekevjames/nox
steps:
- checkout
- run: nox -s unit-3.7 cover

# run tests!
- run:
name: run tests
command: |
. venv/bin/activate
pytest tests/unit
"lint":
docker:
- image: thekevjames/nox
steps:
- checkout
- run: nox -s lint

- store_artifacts:
path: test-reports
destination: test-reports
workflows:
version: 2
build:
jobs:
- "unit-2.7"
- "unit-3.5"
- "unit-3.6"
- "unit-3.7"
- lint
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pandas_gbq/_version.py export-subst
pydata_google_auth/_version.py export-subst
55 changes: 0 additions & 55 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Contributing

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

4 changes: 2 additions & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ include README.rst
include LICENSE.txt
include setup.py

graft pandas_gbq
graft pydata_google_auth

global-exclude *.so
global-exclude *.pyd
Expand All @@ -15,4 +15,4 @@ global-exclude .DS_Store
global-exclude *.png

include versioneer.py
include pandas_gbq/_version.py
include pydata_google_auth/_version.py
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ authenticate to Google APIs with user credentials.

See the `pydata-google-auth documentation <https://pydata-google-auth.readthedocs.io/>`_ for more details.

.. |Build Status| image:: https://travis-ci.org/pydata/pydata-google-auth.svg?branch=master
:target: https://travis-ci.org/pydata/pydata-google-auth
.. |Build Status| image:: https://circleci.com/gh/pydata/pydata-google-auth/tree/master.svg?style=svg
:target: https://circleci.com/gh/pydata/pydata-google-auth/tree/master
.. |Version Status| image:: https://img.shields.io/pypi/v/pydata-google-auth.svg
:target: https://pypi.python.org/pypi/pydata-google-auth/
.. |Coverage Status| image:: https://img.shields.io/codecov/c/github/pydata/pydata-google-auth.svg
Expand Down
10 changes: 0 additions & 10 deletions ci/requirements-2.7-0.19.2.pip

This file was deleted.

8 changes: 0 additions & 8 deletions ci/requirements-3.5-0.18.1.pip

This file was deleted.

8 changes: 0 additions & 8 deletions ci/requirements-3.6-0.20.1.conda

This file was deleted.

8 changes: 0 additions & 8 deletions ci/requirements-3.6-MASTER.pip

This file was deleted.

34 changes: 0 additions & 34 deletions ci/travis_encrypt_gbq.sh

This file was deleted.

Binary file removed ci/travis_gbq.json.enc
Binary file not shown.
2 changes: 0 additions & 2 deletions ci/travis_gbq_config.txt

This file was deleted.

13 changes: 0 additions & 13 deletions ci/travis_process_gbq_encryption.sh

This file was deleted.

12 changes: 6 additions & 6 deletions docs/README.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
To build a local copy of the pandas-gbq docs, install the programs in
To build a local copy of the pydata-google-auth docs, install the programs in
requirements-docs.txt and run 'make html'. If you use the conda package manager
these commands suffice::

git clone [email protected]:pydata/pandas-gbq.git
cd dask/docs
conda create -n pandas-gbq-docs --file requirements-docs.txt
source activate pandas-gbq-docs
git clone [email protected]:pydata/pydata-google-auth.git
cd pydata-google-docs/docs/source
conda create -n pydata-google-auth-docs --file ../requirements-docs.txt
source activate pydata-google-auth-docs
make html
open build/html/index.html
open _build/html/index.html
1 change: 0 additions & 1 deletion docs/requirements-docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ matplotlib
numpydoc
sphinx
sphinx_rtd_theme
pandas
8 changes: 4 additions & 4 deletions docs/source/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ qthelp:
@echo
@echo "Build finished; now you can run "qcollectiongenerator" with the" \
".qhcp project file in $(BUILDDIR)/qthelp, like this:"
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/pandas-gbq.qhcp"
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/pydata-google-auth.qhcp"
@echo "To view the help file:"
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/pandas-gbq.qhc"
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/pydata-google-auth.qhc"

.PHONY: applehelp
applehelp:
Expand All @@ -110,8 +110,8 @@ devhelp:
@echo
@echo "Build finished."
@echo "To view the help file:"
@echo "# mkdir -p $$HOME/.local/share/devhelp/pandas-gbq"
@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/pandas-gbq"
@echo "# mkdir -p $$HOME/.local/share/devhelp/pydata-google-auth"
@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/pydata-google-auth"
@echo "# devhelp"

.PHONY: epub
Expand Down
1 change: 0 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,6 @@
# Configuration for intersphinx:
intersphinx_mapping = {
"https://docs.python.org/": None,
"https://pandas.pydata.org/pandas-docs/stable/": None,
"https://google-auth.readthedocs.io/en/latest/": None,
"https://google-auth-oauthlib.readthedocs.io/en/latest/": None,
}
Expand Down
Loading