Skip to content

Commit

Permalink
Adds npm install script to .travis.yml
Browse files Browse the repository at this point in the history
Travis CI seems to fail to fetch a dependency referenced by a commit-ish git url.
https://travis-ci.org/cettia/cettia-javascript-client/builds/229181060

By inserting npm install script which installs such dependencies to before_script section in .travis.yml, we can circumvent this issue for now.
  • Loading branch information
flowersinthesand committed May 6, 2017
1 parent b2cbefc commit 0732fa7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Expand Up @@ -6,3 +6,5 @@ node_js:
- 7
before_script:
- npm install -g grunt-cli
- npm i cettia/cettia-protocol#f83e99cdc202b4818c2041b1563ee8a6ac8c8f00

1 comment on commit 0732fa7

@flowersinthesand
Copy link
Member Author

Choose a reason for hiding this comment

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

FYI, it was my mistake - travis-ci/travis-ci#7714 (comment)

Please sign in to comment.