In Travis, skip some tests when not on trunk
|Reported by:||jorbin||Owned by:||johnbillion|
There are some tests that are around to serve as reminders for modern development such as to ensure the copy write year is updated and ensure that the readme PHP recommendation matches the recommendation on wordpress.org
For the automated running of tests, tests such as these should be skipped by detecting the branch we are on in travis, and only running the test when the branch is master.
We can use travis enviornement variable TRAVIS_BRANCH to detect the branch.
Change History (25)
2 months ago
- Summary changed from In Travis, skip some tests when not on truck to In Travis, skip some tests when not on trunk
2 weeks ago
- Milestone changed from Awaiting Review to 4.8
- Owner set to johnbillion
- Status changed from new to reviewing