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

bradleyfalzon / gopherci
58%
master: 61%

Build:
Build:
LAST BUILD BRANCH: review-no-approve
DEFAULT BRANCH: master
Repo Added 22 Oct 2016 12:03PM UTC
Files 0
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

LAST BUILD ON BRANCH clone-path
branch: clone-path
CHANGE BRANCH
x
Reset
  • clone-path
  • analyser-composition
  • build-summary
  • builddb
  • commit-comment
  • debug
  • disable-private
  • docker
  • docs-errors
  • dominikh
  • dual-comments
  • error-handling
  • failed-diff
  • first-commit
  • fix-goveralls
  • fix-hardcoded
  • gcppubsub
  • godep
  • gopherci-env
  • gopherci.yml
  • graceful
  • ignore-gen
  • integration-test
  • logger
  • master
  • maxcommments
  • memlimit
  • msgs
  • pr-reviews
  • pr-reviews-default
  • preflight
  • pubsub-breaking
  • pubsub-timeout
  • push
  • refactor-analyser
  • reference-failures
  • refreader
  • remove-accountid
  • reporter
  • requeue
  • review-no-approve
  • senderid
  • show-env
  • syncronize
  • test
  • various
  • wbsecret
  • webui

pending completion
98

push

travis-ci

bradleyfalzon
Clone to import path in /home/bradleyf/go/src/

Currently we clone into $GOPATH/src/gopherci but any project that
imports sub packages in the same repository, would have those
dependencies go get'd (go got?).

If the project imported internal packages, those couldn't be built
at all with the error `use of internal package not allowed`.

This fix attempts to guess the import path, based on the URL by:

- Getting the base repo's HTML URL `https://github.com/owner/repo`
- Strippping the scheme `github.com/owner/repo`
- Docker or file system executer runs command with that as the
working directory
- All clones, tools etc, are then executed in the repositories
working directory, which should be $GOPATH/src/github.com/owner/repo

I'm not a big fan of this is done (just stripping the scheme), but
the only edge case I can forsee are those with vanity import paths,
and it's not clear how to handle them right now, potentially
automated or potentially it could be configuration option per repo.

The other edgecases will come if GitHub changes URL structure or
we support other providers where the import path is not clear, both
of which can be dealt with at the time.

Fixes #16.

456 of 783 relevant lines covered (58.24%)

1.29 hits per line

Relevant lines Covered
Build:
Build:
783 RELEVANT LINES 456 COVERED LINES
1.29 HITS PER LINE
Source Files on clone-path
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
98 clone-path Clone to import path in /home/bradleyf/go/src/ Currently we clone into $GOPATH/src/gopherci but any project that imports sub packages in the same repository, would have those dependencies go get'd (go got?). If the project imported internal pack... push 28 Jan 2017 04:20AM UTC bradleyfalzon travis-ci pending completion  
See All Builds (294)
  • Repo on GitHub
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