Skip to content

Commit 45c89bb

Browse files
dailycodingf2prateek
authored andcommitted
CircleCI config (#108)
* Rebase to latest version * Update CircleCI config to do tests in various platform * Remove venv config from config.yml * Fix permission problem * Run e2e test in multi platform * Fix bug and add workflow * Update badge to CircleCI
1 parent 1d153da commit 45c89bb

File tree

2 files changed

+52
-1
lines changed

2 files changed

+52
-1
lines changed

.circleci/config.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
version: 2
2+
jobs:
3+
build:
4+
docker:
5+
- image: circleci/python:2.7.15-stretch
6+
steps:
7+
- checkout
8+
- run: pip install --user .
9+
- run: make test
10+
11+
test_27:
12+
docker:
13+
- image: circleci/python:2.7.15-stretch
14+
steps:
15+
- checkout
16+
- run: pip install --user .
17+
- run: make e2e_test
18+
19+
test_34:
20+
docker:
21+
- image: circleci/python:3.4.8-jessie-node
22+
steps:
23+
- checkout
24+
- run: pip install --user .
25+
- run: make e2e_test
26+
27+
test_35:
28+
docker:
29+
- image: circleci/python:3.5.5-jessie
30+
steps:
31+
- checkout
32+
- run: pip install --user .
33+
- run: make e2e_test
34+
35+
test_36:
36+
docker:
37+
- image: circleci/python:3.6.5-jessie
38+
steps:
39+
- checkout
40+
- run: pip install --user .
41+
- run: make e2e_test
42+
43+
workflows:
44+
version: 2
45+
build_and_test:
46+
jobs:
47+
- build
48+
- test_27
49+
- test_34
50+
- test_35
51+
- test_36

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
analytics-python
22
==============
33

4-
[![Build Status](https://travis-ci.org/segmentio/analytics-python.svg?branch=master)](https://travis-ci.org/segmentio/analytics-python)
4+
[![Build Status](https://secure.gravatar.com/avatar?s=60)](https://circleci.com/gh/segmentio/analytics-python)
55

66
analytics-python is a python client for [Segment](https://segment.com)
77

0 commit comments

Comments
 (0)