Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

build: fix node caching in travis #146

Merged
merged 1 commit into from
Dec 11, 2019
Merged

build: fix node caching in travis #146

merged 1 commit into from
Dec 11, 2019

Conversation

imurchie
Copy link
Contributor

Re-enable global node_modules caching in Travis. Also remove the masking of the install process for opencv4nodejs as, in the event of an error in install/build, it makes the problem unclear.

if [[ $(npm ls --depth 1 -g opencv4nodejs) =~ "── opencv4nodejs@" ]]; then
echo 'Already installed opencv4nodejs';
else
npm install -g opencv4nodejs;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

travis was killing the job previously because the build command was printing too much of data into the log and/or was printing no data at all within 30 min making Travis think it's frozen. That is why the trick with ping.sh was needed

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems fine now. I've run it a number of times without running over the log limit.

@imurchie imurchie merged commit 4aa92eb into master Dec 11, 2019
@imurchie imurchie deleted the isaac-install-opencv branch December 11, 2019 14:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants