Skip to content
This repository was archived by the owner on Feb 21, 2024. It is now read-only.

Commit 58a9036

Browse files
committed
Add CircleCI integration
1 parent 83af715 commit 58a9036

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed

.circleci/config.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
version: 2
2+
jobs:
3+
build:
4+
docker:
5+
- image: circleci/python:3.6.4
6+
7+
working_directory: ~/repo
8+
9+
steps:
10+
- checkout
11+
12+
- restore_cache:
13+
keys:
14+
- tox-{{ checksum "Pipfile.lock" }}
15+
16+
- run:
17+
name: Set permissions
18+
command: |
19+
sudo chown -R circleci:circleci /usr/local/bin
20+
sudo chown -R circleci:circleci /usr/local/lib/python3.6/site-packages
21+
22+
- run:
23+
name: Install tox
24+
command: |
25+
pip install tox
26+
27+
- run:
28+
name: Run tests
29+
command: |
30+
tox
31+
32+
- save_cache:
33+
key: tox-{{ checksum "Pipfile.lock" }}
34+
paths:
35+
- ".tox"

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
# Universal Analytics for Python
22

3+
34
This library provides a Python interface to Google Analytics, supporting the Universal Analytics Measurement Protocol, with an interface modeled (loosely) after Google's `analytics.js`.
45

6+
# Status
7+
8+
| CircleCI | [![CircleCI](https://circleci.com/gh/lyndsysimon/universal-analytics-python.svg?style=svg)](https://circleci.com/gh/lyndsysimon/universal-analytics-python) |
9+
510
# Usage
611

712
A simple example:

0 commit comments

Comments
 (0)