Skip to content

Fix for failing Travis builds #135

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 21, 2015
Merged

Conversation

shirish87
Copy link
Contributor

In environments like Travis, the -localIdentifier option is set for the BrowserStackLocal binary used for creating the local tunnel.

For some inexplicable reason, child_process.execFile seems to require each args array element to be an independent fragment of the command - for e.g. [ '-localIdentifier ' + 'ID:1' ] vs. [ '-localIdentifier', 'ID:1' ]. I have no idea why it works that way.

Working Travis Build with the fix.

Thanks, @TehShrike and @ausi for helping out.

Fixes #102.

@TehShrike
Copy link
Contributor

Nice!

@ausi
Copy link

ausi commented Aug 21, 2015

Thanks!

shirish87 added a commit that referenced this pull request Aug 21, 2015
Local: Fix for failing Travis builds

Now passing localIdentifier arg to child_process.execFile as a separate array element instead of string concat.
Fixes #102.
@shirish87 shirish87 merged commit 78f2754 into browserstack:master Aug 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failing to run on Travis environment
3 participants