Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.
Merged
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
45 changes: 27 additions & 18 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,38 +1,47 @@
version: 2
references:
objectrocket-docker-auth: &objectrocket-docker-auth
auth:
username: ${DOCKER_USERNAME}
password: ${DOCKER_PASSWORD}
context-to-use: &context-to-use
context: objectrocket-shared
jobs:
test-py2:
docker:
- image: python:2.7
- <<: *objectrocket-docker-auth
image: python:2.7
working_directory: ~/python-client
steps:
- checkout
- checkout

- run:
command: pip install --upgrade pip tox
- run:
command: pip install --upgrade pip tox

- run:
command: |
tox -e lint
tox -e py27
- run:
command: |
tox -e lint
tox -e py27

test-py3:
docker:
- image: python:3.8
- <<: *objectrocket-docker-auth
image: python:3.8
working_directory: ~/python-client
steps:
- checkout
- checkout

- run:
command: pip install --upgrade pip tox
- run:
command: pip install --upgrade pip tox

- run:
command: |
tox -e lint
tox -e py38
- run:
command: |
tox -e lint
tox -e py38

workflows:
version: 2
test:
jobs:
- test-py2
- test-py3
- test-py2: *context-to-use
- test-py3: *context-to-use