• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

PHPCSStandards / PHPCSExtra / 170
99%
develop: 100%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/action-runners-73dc52d6a4
DEFAULT BRANCH: develop
Ran 31 Mar 2020 06:22PM UTC
Jobs 4
Files 17
Run time 6min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
170

Pull #44

travis-ci-com

web-flow
Travis: fix the build

The Travis docs say that `$TRAVIS_BUILD_STAGE_NAME` is in "proper case" form:

> TRAVIS_BUILD_STAGE_NAME: The build stage in capitalized form, e.g. Test or Deploy. If a build does not use build stages, this variable is empty ("").

However, it looks like they made an (undocumented) change (probably a bug in their script handling) which means that the `$TRAVIS_BUILD_STAGE_NAME` name is now in the case as given, which in this case is _lowercase_.

This means that some of the comparisons are failing and the wrong things are executed for certain builds.

As I expect this to be a bug in Travis, I'm not changing the case for the comparisons at this time.
Instead I'm fixing this by inline fixing the case of the variable for the comparisons.

Refs:
* https://docs.travis-ci.com/user/environment-variables#default-environment-variables (near the bottom of the list)
Pull Request #44: Travis: fix the build

597 of 601 relevant lines covered (99.33%)

3.96 hits per line

Jobs
ID Job ID Ran Files Coverage
16 170.16 (PHPCS_VERSION="dev-master" LINT=1 COVERALLS_VERSION="^2.0") 31 Mar 2020 06:23PM UTC 0
98.71
Travis Job 170.16
17 170.17 (PHPCS_VERSION="3.3.1" COVERALLS_VERSION="^2.0") 31 Mar 2020 06:23PM UTC 0
99.36
Travis Job 170.17
18 170.18 (PHPCS_VERSION="dev-master" LINT=1 COVERALLS_VERSION="^1.0") 31 Mar 2020 06:22PM UTC 0
98.66
Travis Job 170.18
19 170.19 (PHPCS_VERSION="3.3.1" COVERALLS_VERSION="^1.0") 31 Mar 2020 06:28PM UTC 0
99.46
Travis Job 170.19
Source Files on build 170
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Build #170
  • Pull Request #44
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc