Nick9500 / ministocks

Android Stocks Widget
http://niteshpatel.github.io/ministocks
MIT License
1 stars 2 forks source link

As a Developer, I want to see which step the Build fails at in Github #40

Closed Nick9500 closed 6 years ago

Nick9500 commented 6 years ago

As a Developer, I want to see which step the Build fails at in Github

[SP: 0.5] [Priority: 1] [Risk: High]

Demo N/A (Invisible to User)

Tasks Investigate how to show which step the build fails at in Circle/Travis. Implement it.

Nick9500 commented 6 years ago

As of InitTest commit, the build is passing and the text is as follows: CircleCI - Your tests passed on CircleCI! Travis - The Travis CI build passed

capture

Nick9500 commented 6 years ago

As of CI - Purposely Fail Compilation commit, the build is failing and the text is as follows: CircleCI - Your tests failed on CircleCI Travis - The Travis CI build failed capture

Nick9500 commented 6 years ago

As requested, I've distinguished between the build stages in CircleCI as can be seen below. It has two stages (or workflows as CircleCI calls it) and when one fails, you'll be notified accordingly. I've set it so the BUILD step must pass in order for the TEST step to begin execution. Unfortunately, I cannot change the hardcoded text of "Your tests have passed!"/"Your tests failed" but the stage in which it failed will be clear with the red X or green check.

afafa

Nick9500 commented 6 years ago

To demonstrate a passing build but failing tests. I called fail() in a test. afafas

Nick9500 commented 6 years ago

We decided to remove Travis all together seeing as how CircleCI works as we intended.