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

Commit 9a20034

Browse files
author
Joe
authored
Test Python 3.5, 3.6, 3.7 (lightstep#55)
Brings the set of selected Python versions tested to: 2.7, 3.4, 3.5, 3.6, 3.7
1 parent b13d784 commit 9a20034

File tree

4 files changed

+77
-2
lines changed

4 files changed

+77
-2
lines changed

.circleci/config.yml

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,72 @@ jobs:
4040
- store_artifacts:
4141
path: /tmp/circleci-test-results
4242

43+
test-python3.5:
44+
working_directory: ~/lightstep/lightstep-tracer-python
45+
shell: /bin/bash --login
46+
environment:
47+
CIRCLE_ARTIFACTS: /tmp/circleci-artifacts
48+
CIRCLE_TEST_REPORTS: /tmp/circleci-test-results
49+
docker:
50+
- image: circleci/python:3.5
51+
steps:
52+
- checkout
53+
- run: mkdir -p $CIRCLE_ARTIFACTS $CIRCLE_TEST_REPORTS
54+
- run: sudo pip install tox
55+
- run: make test35
56+
- store_test_results:
57+
path: /tmp/circleci-test-results
58+
- store_artifacts:
59+
path: /tmp/circleci-artifacts
60+
- store_artifacts:
61+
path: /tmp/circleci-test-results
62+
63+
test-python3.6:
64+
working_directory: ~/lightstep/lightstep-tracer-python
65+
shell: /bin/bash --login
66+
environment:
67+
CIRCLE_ARTIFACTS: /tmp/circleci-artifacts
68+
CIRCLE_TEST_REPORTS: /tmp/circleci-test-results
69+
docker:
70+
- image: circleci/python:3.6
71+
steps:
72+
- checkout
73+
- run: mkdir -p $CIRCLE_ARTIFACTS $CIRCLE_TEST_REPORTS
74+
- run: sudo pip install tox
75+
- run: make test36
76+
- store_test_results:
77+
path: /tmp/circleci-test-results
78+
- store_artifacts:
79+
path: /tmp/circleci-artifacts
80+
- store_artifacts:
81+
path: /tmp/circleci-test-results
82+
83+
test-python3.7:
84+
working_directory: ~/lightstep/lightstep-tracer-python
85+
shell: /bin/bash --login
86+
environment:
87+
CIRCLE_ARTIFACTS: /tmp/circleci-artifacts
88+
CIRCLE_TEST_REPORTS: /tmp/circleci-test-results
89+
docker:
90+
- image: circleci/python:3.7
91+
steps:
92+
- checkout
93+
- run: mkdir -p $CIRCLE_ARTIFACTS $CIRCLE_TEST_REPORTS
94+
- run: sudo pip install tox
95+
- run: make test37
96+
- store_test_results:
97+
path: /tmp/circleci-test-results
98+
- store_artifacts:
99+
path: /tmp/circleci-artifacts
100+
- store_artifacts:
101+
path: /tmp/circleci-test-results
102+
43103
workflows:
44104
version: 2
45105
test:
46106
jobs:
47107
- test-python2.7
48108
- test-python3.4
109+
- test-python3.5
110+
- test-python3.6
111+
- test-python3.7

Makefile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,15 @@ test27: build
5555
test34: build
5656
tox -e py34
5757

58+
test35: build
59+
tox -e py35
60+
61+
test36: build
62+
tox -e py36
63+
64+
test37: build
65+
tox -e py37
66+
5867
test: build
5968
tox
6069

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ pip install lightstep
1919
```python
2020
pyenv install 2.7.15
2121
pyenv install 3.4.9
22+
pyenv install 3.5.6
23+
pyenv install 3.6.6
24+
pyenv install 3.7.0
2225
pyenv local 2.7.15 3.4.9
2326
```
2427

@@ -29,7 +32,7 @@ tox
2932

3033
* Run the examples:
3134
```python
32-
source .tox/py27/bin/activate
35+
source .tox/py37/bin/activate
3336
python examples/nontrivial/main.py
3437
```
3538

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py27, py34
2+
envlist = py27, py34, py35, py36, py37
33

44
[testenv]
55
deps =

0 commit comments

Comments
 (0)