Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Transition to CircleCI 2.0, test against python 3.6 instead of 3.5 #48

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
39 changes: 39 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
version: 2
jobs:
py27:
docker:
- image: circleci/python:2.7.14-stretch
environment:
- TOX_ENV=py27
- INTEGRATION_TEST_REPO_NAME=github-release-bot/github-release-test-py2
- INTEGRATION_TEST_GIT_USER_NAME=github-release-bot
- INTEGRATION_TEST_GIT_USER_EMAIL=github-release-bot@users.noreply.github.com
steps:
- checkout
- run:
name:
command: |
pip install -r requirements-dev.txt
tox -e ${TOX_ENV}
py36:
docker:
- image: circleci/python:3.6.5-stretch
environment:
- TOX_ENV=py36
- INTEGRATION_TEST_REPO_NAME=github-release-bot/github-release-test-py3
- INTEGRATION_TEST_GIT_USER_NAME=github-release-bot
- INTEGRATION_TEST_GIT_USER_EMAIL=github-release-bot@users.noreply.github.com
steps:
- checkout
- run:
name:
command: |
pip install -r requirements-dev.txt
tox -e ${TOX_ENV}

workflows:
version: 2
test-package-publish:
jobs:
- py27
- py36
42 changes: 0 additions & 42 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py27,py35
envlist = py27,py36

[testenv]
passenv=GITHUB_TOKEN HOME INTEGRATION_TEST_GIT_USER_EMAIL INTEGRATION_TEST_GIT_USER_NAME INTEGRATION_TEST_REPO_NAME TRAVIS
Expand Down