Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Travis CI: 'sudo' tag is now deprecated in Travis#825

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
cclauss wants to merge3 commits intogitpython-developers:masterfromcclauss:patch-1
Closed
Changes fromall 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
5 changes: 2 additions & 3 deletions.travis.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
language: python
dist: xenial
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
# - "pypy" - won't work as smmap doesn't work (see gitdb/.travis.yml for details)
matrix:
matrix:
include:
- python: 3.7
dist: xenial
Copy link
Contributor

Choose a reason for hiding this comment

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

You might be able to movedist: xenial out one level and define it globally. If so, you can move the python declarations out to the global list and eliminate the matrix include section all together.

Copy link
ContributorAuthor

@cclausscclaussJan 17, 2019
edited
Loading

Choose a reason for hiding this comment

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

I can confirm that both solutions work. While xenial isgenerally available, it is not the Travisdefault distro so I usually take the more conservative route of only using it where it is needed.

Copy link
ContributorAuthor

@cclausscclaussJan 21, 2019
edited
Loading

Choose a reason for hiding this comment

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

#831 eliminates one test when run on xenial so I think it is best to run more tests on Pythons that are compatible with the Travis CI default distro and fewer tests only on Python 3.7 and nightly.

sudo: required
- python: "nightly"
dist: xenial
sudo: required
allow_failures:
- python: "nightly"
git:
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp