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

mbland / go-script-bash
95%
master: 95%

Build:
Build:
LAST BUILD BRANCH: multiple-script-dirs
DEFAULT BRANCH: master
Repo Added 13 Sep 2016 05:47PM UTC
Files 69
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 go-template-download
branch: go-template-download
CHANGE BRANCH
x
Reset
  • go-template-download
  • appveyor
  • bats-helpers
  • bats-v1.0.1
  • cl-assertions-#181
  • cla-#214
  • cla-#217
  • close-bats-fd-3
  • copy-#184
  • create-fwd-script-#186
  • diff-lib
  • fileutil-module-#184
  • fix-coverage-kcov-v35
  • fix-fileutil-create-dirs-msys2
  • forwarding-script
  • issue-template
  • master
  • mirror-dir-#186
  • native-path-#186-#187
  • null
  • path-lib
  • platform-#184
  • platform-freebsd
  • run-script-helpers
  • skip-if-none-present-#186
  • skip-template-test
  • stub-hash-reset
  • tarball-#186
  • v1.6.0
  • v1.7.0
  • walk-#184

pending completion
669

push

travis-ci

mbland
tests/template: Make scripts for curl, wget, fetch

Turns out the 'fail to find tar uses git clone' test would fail on
systems that don't have `curl` installed, since
`create_forwarding_script` now only creates a script if a program is
present. This fixes the breakage by trying to create a forwarding script
for all three programs; at least one should be guaranteed to be present.

2788 of 2947 relevant lines covered (94.6%)

248.61 hits per line

Relevant lines Covered
Build:
Build:
2947 RELEVANT LINES 2788 COVERED LINES
248.61 HITS PER LINE
Source Files on go-template-download
  • List 0
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
669 go-template-download tests/template: Make scripts for curl, wget, fetch Turns out the 'fail to find tar uses git clone' test would fail on systems that don't have `curl` installed, since `create_forwarding_script` now only creates a script if a program is present. Th... push 27 Aug 2017 12:51AM UTC mbland travis-ci pending completion  
667 go-template-download go-template: Use `git` to detect Git for Windows Turns out this is the most reliable and robust way, as `EXEPATH` won't always be set or set with 'Git' as its final component. push 27 Aug 2017 12:37AM UTC mbland travis-ci pending completion  
665 go-template-download tests/template: Fix `git_for_windows_native_path` Turns out I made a mistake in the previous commit in adapting the conditional to use `EXEPATH` instead of `command -v cygpath`, as the tests were still broken on regular MSYS2 and Cygwin. This cha... push 27 Aug 2017 12:20AM UTC mbland travis-ci pending completion  
663 go-template-download go-template: Only use `cygpath` on Git for Windows As it turns out, regular MSYS2 and Cygwin do not work with with file paths modified with `cygpath -m`. This change tries to ensure only Git for Windows is affected by checking the `EXEPATH` varia... push 27 Aug 2017 12:09AM UTC mbland travis-ci pending completion  
662 go-template-download go-template: Use `cygpath` for Windows portability Cygwin and MSYS2 environments both contain the `cygpath` utility for translating between Unix and native Windows file paths. `cygpath -m` is just what's needed when passing file paths and URLs to... push 26 Aug 2017 11:40PM UTC mbland travis-ci pending completion  
659 go-template-download tests/template: Add PATH to forwarding scripts This fixes test failures for the "fail to find download program uses git clone" and the "fail to find tar uses git clone" test cases on MSYS2 and Cygwin, due to the fact that helper programs couldn't... push 26 Aug 2017 06:51PM UTC mbland travis-ci pending completion  
657 go-template-download go-template: Use `cat` with `file://` URLs This is because `wget` only supports HTTP, HTTPS, and FTP, as I discovered when running the tests on Alpine Linux without cURL installed. Also, the BusyBox version of `tar` that comes with Alpine doesn'... push 26 Aug 2017 04:55PM UTC mbland travis-ci pending completion  
656 go-template-download tests/template: Update nonexistent repo test As I'd already done with the 'fail to download a nonexistent version' test case, I've updated the 'fail to download a nonexistent repo' test case to use a series of `assert_output_matches` assertions r... push 25 Aug 2017 10:40PM UTC mbland travis-ci pending completion  
653 go-template-download go-template: Download using curl, wget, or fetch Attempts to be flexible as the `./go get file` command. The `run_with_download_program` test helper creates a script that runs `cat` on a local tarball to simulate downloads using each tool. push 25 Aug 2017 10:19PM UTC mbland travis-ci pending completion  
See All Builds (758)
  • 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