Skip to content

Switch stages around to get correct build failures from Travis CI#3282

Merged
bdbaddog merged 1 commit into
SCons:masterfrom
dmoody256:travis_doesnt_report_fails
Jan 30, 2019
Merged

Switch stages around to get correct build failures from Travis CI#3282
bdbaddog merged 1 commit into
SCons:masterfrom
dmoody256:travis_doesnt_report_fails

Conversation

@dmoody256
Copy link
Copy Markdown
Contributor

Small follow on patch to #3275, which fixes an issue where Travis will report a pass when one of the platform test runs could have failed.

Example here shows 3.6 failing, but since the last stage is Coverage and it passed, then the build reported pass:
https://travis-ci.org/SCons/scons/builds/486015577

This PR:

  • switches the order the Travis stages are run, so that Coverage is run first and collected, then the platform tests are run last and the result of the Test stage determines the result of entire run.
  • pypi still is allowed to fail because it is not in a working state, but is still useful to run

@dmoody256 dmoody256 force-pushed the travis_doesnt_report_fails branch from e2ce4d8 to 53d22ee Compare January 29, 2019 22:13
@bdbaddog bdbaddog merged commit 1447cb3 into SCons:master Jan 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants