Skip to content

Commit dff35fe

Browse files
authored
Merge pull request #48 from lightstep/hicks/circle-2.0
Migrate to CircleCI 2.0
2 parents 1b0a395 + 6809ba3 commit dff35fe

File tree

3 files changed

+48
-18
lines changed

3 files changed

+48
-18
lines changed

.circleci/config.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
version: 2
2+
jobs:
3+
test-python2.7:
4+
working_directory: ~/lightstep/lightstep-tracer-python
5+
shell: /bin/bash --login
6+
environment:
7+
CIRCLE_ARTIFACTS: /tmp/circleci-artifacts
8+
CIRCLE_TEST_REPORTS: /tmp/circleci-test-results
9+
docker:
10+
- image: circleci/python:2.7
11+
steps:
12+
- checkout
13+
- run: mkdir -p $CIRCLE_ARTIFACTS $CIRCLE_TEST_REPORTS
14+
- run: sudo pip install tox
15+
- run: make test
16+
- store_test_results:
17+
path: /tmp/circleci-test-results
18+
- store_artifacts:
19+
path: /tmp/circleci-artifacts
20+
- store_artifacts:
21+
path: /tmp/circleci-test-results
22+
23+
test-python3.4:
24+
working_directory: ~/lightstep/lightstep-tracer-python
25+
shell: /bin/bash --login
26+
environment:
27+
CIRCLE_ARTIFACTS: /tmp/circleci-artifacts
28+
CIRCLE_TEST_REPORTS: /tmp/circleci-test-results
29+
docker:
30+
- image: circleci/python:3.4
31+
steps:
32+
- checkout
33+
- run: mkdir -p $CIRCLE_ARTIFACTS $CIRCLE_TEST_REPORTS
34+
- run: sudo pip install tox
35+
- run: make test
36+
- store_test_results:
37+
path: /tmp/circleci-test-results
38+
- store_artifacts:
39+
path: /tmp/circleci-artifacts
40+
- store_artifacts:
41+
path: /tmp/circleci-test-results
42+
43+
workflows:
44+
version: 2
45+
test:
46+
jobs:
47+
- test-python2.7
48+
- test-python3.4

circle.yml

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

tox.ini

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
[tox]
22
; envlist = py26, py27, py34
3-
envlist = py27,py34
4-
53

64
[testenv]
75
deps =

0 commit comments

Comments
 (0)