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

google / go-jsonnet / 514 / 3
44%
master: 44%

Build:
DEFAULT BRANCH: master
Ran 24 Sep 2018 02:51PM UTC
Files 21
Run time 2s
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.3

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%)

2222.99 hits per line

Source Files on job 514.3
  • Tree
  • List 0
  • Changed 15
  • Source Changed 2
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 458
  • Travis Job 514.3
  • f7fcba65 on github
  • Prev Job for on master (#493.1)
  • Next Job for on master (#515.2)
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