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

Upgrade ci to support Python 3 #350

Merged
merged 9 commits into from
Mar 5, 2019
Merged

Upgrade ci to support Python 3 #350

merged 9 commits into from
Mar 5, 2019

Conversation

ofek
Copy link
Contributor

@ofek ofek commented Mar 5, 2019

Motivation

DataDog/integrations-core#3243

Also fixed flake8 as was done in ^

@ofek ofek requested a review from a team as a code owner March 5, 2019 18:59
Copy link
Contributor

@nmuesch nmuesch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@ofek ofek requested a review from a team as a code owner March 5, 2019 19:52
@codecov-io
Copy link

codecov-io commented Mar 5, 2019

Codecov Report

❗ No coverage uploaded for pull request base (master@9db7a56). Click here to learn what that means.
The diff coverage is 50%.

@@            Coverage Diff            @@
##             master     #350   +/-   ##
=========================================
  Coverage          ?   84.62%           
=========================================
  Files             ?       37           
  Lines             ?      852           
  Branches          ?       76           
=========================================
  Hits              ?      721           
  Misses            ?      111           
  Partials          ?       20

Copy link
Contributor

@gzussa gzussa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice travis.yml refactoring! Added comment based on my last week learnings 😄

envlist =
reboot_required
py27-reboot_required
flake8

[testenv]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's add -v to pytest

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also let's add platform = linux|darwin|win32 for [flake8]

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exclude = .eggs,.tox,build ?


[testenv]
platform = linux|darwin
deps =
datadog-checks-base[deps]
-rrequirements-dev.txt

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

envlist = unit, integration, flake8
basepython = py37
envlist =
py27-{unit,integration}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

py{27,37}?

envlist =
reboot_required
py27-reboot_required
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

py{27,37}?

envlist =
sortdb
py27-sortdb
flake8

[testenv]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exclude = .eggs,.tox,build and platform = linux|darwin|win32 for [flake8]

envlist =
sortdb
py27-sortdb
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

py{27,37}

envlist =
unit,
integration,
py27-{unit,integration}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as above?

envlist =
unit,
integration,
py27-{unit,integration}
flake8

[testenv]
platform = linux|darwin
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's run flake on win32 as well here

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and let's exclude build as well

@ofek
Copy link
Contributor Author

ofek commented Mar 5, 2019

I'll address individual Python 3 & platform compatibility in separate PRs

@ofek ofek merged commit 6337d30 into master Mar 5, 2019
@ofek ofek deleted the ofek/37 branch March 5, 2019 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants