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

google / go-jsonnet / 514
44%

Build:
DEFAULT BRANCH: master
Ran 24 Sep 2018 02:48PM UTC
Jobs 3
Files 21
Run time 4min
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

24 Sep 2018 02:47PM UTC coverage: 75.14% (-0.005%) from 75.145%
514

push

travis-ci

sparkprime
travis: Support building pushed branches

This commit refactors travisBuild.sh to support building pushed branched on top
of PRs and tags.

This was prompted by enabling travis on a forked repository. The devlopment
flow then becomes:
  - Fork google/go-jsonnet
  - Enable travis on fork repository
  - Push branch to forked repository
  - Travis runs on the pushed branch
  - Submit pull request once happy and tests pass in the forked repository

I tested 3 scenarii and they seem behave nicely:
  - Running CI for pushed branch
  - Running CI for tag
  - Running CI for a Pull Request

As a side note, the previous error path didn't work as intented:
  - The TRAVIS_PULL variable didn't exist
  - We weren't exiting with a non 0 value in the else branch, so the build
    succeeded instead of failing when travisBuild.sh didn't know what to do
    with the pushed branch

4156 of 5531 relevant lines covered (75.14%)

6753.79 hits per line

Jobs
ID Job ID Ran Files Coverage
1 514.1 24 Sep 2018 02:48PM UTC 0
75.14
Travis Job 514.1
2 514.2 24 Sep 2018 02:53PM UTC 0
72.02
Travis Job 514.2
3 514.3 24 Sep 2018 02:51PM UTC 0
75.14
Travis Job 514.3
Source Files on build 514
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #514
  • f7fcba65 on github
  • Prev Build on master (#493)
  • Next Build on master (#515)
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

© 2026 Coveralls, Inc