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

tmatilai / vagrant-proxyconf / 231
70%

Build:
DEFAULT BRANCH: master
Ran 03 Apr 2014 09:37AM UTC
Jobs 2
Files 34
Run time 55s
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

pending completion
231

Pull #59

travis-ci

spul
Test for npm availability in sudo context

npm proxy provider runs
@machine.communicate.sudo(command).

cap provider verifies availability of npm with `which' NOT
using sudo.

This may result in:
- which succeeds for the ssh user (mostly vagrant)
- machine.communicate.sudo('npm do something') does not
  succeed because sudo target user does not have the same
  PATH variable configured.

This may result in the following error message breaking the
Vagrant environment completely:

The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

npm config set proxy http://some.configured.proxy.here:8080/

Stdout from the command:

Stderr from the command:

bash: line 2: npm: command not found
Pull Request #59: Test for npm availability in sudo context

1 of 1 new or added line in 1 file covered. (100.0%)

501 of 649 relevant lines covered (77.2%)

26.13 hits per line

Jobs
ID Job ID Ran Files Coverage
2 231.2 (1.9.3, VAGRANT_VERSION=v1.3.5) 03 Apr 2014 09:37AM UTC 0
77.2
Travis Job 231.2
3 231.3 (1.9.3, VAGRANT_VERSION=v1.2.7) 03 Apr 2014 09:38AM UTC 0
77.2
Travis Job 231.3
Source Files on build 231
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #231
  • Pull Request #59
  • PR Base - master (#230)
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