Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Make some updates in Travis config#2104

Merged
ljharb merged 1 commit intonvm-sh:masterfrom
chenrui333:update-travis
Dec 8, 2020
Merged

Make some updates in Travis config#2104
ljharb merged 1 commit intonvm-sh:masterfrom
chenrui333:update-travis

Conversation

@chenrui333
Copy link
Contributor

No description provided.

cache:
ccache: true
directories:
- $HOME/.npm
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is now cached by default.

Please note that as of July 2019, npm is cached by default on Travis CI

Copy link
Member

Choose a reason for hiding this comment

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

i still prefer the explicit entry; but can you link to where this is quoted from?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I do see the value of being explicit, but the cache policy change is the new norm though :)

Copy link
Member

Choose a reason for hiding this comment

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

That says

This caches $HOME/.npm or node_modules, depending on the repository’s structure

which makes me more strongly prefer the explicit form.

.travis.yml Outdated
@@ -1,6 +1,5 @@
language: generic
dist: xenial
sudo: required
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is not quite needed.

Copy link
Member

Choose a reason for hiding this comment

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

why not? switching from xenial to bionic may have lots of implications about what can be compiled.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That might be true, but the sudo: required is not needed though.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

i'm fine removing the sudo key, only.

@ljharb ljharb added the testing Stuff related to testing nvm itself. label Oct 2, 2019
@chenrui333
Copy link
Contributor Author

Looks like some build failures, some did not.

@chenrui333
Copy link
Contributor Author

I will see how to do the cross-linux dist test tomorrow.

@ljharb
Copy link
Member

ljharb commented Dec 8, 2020

Although we're in the process of migrating off of travis, I'll rebase and land this.

@chenrui333
Copy link
Contributor Author

chenrui333 commented Dec 8, 2020

Yeah, I can sense the trend of moving away from travis, thanks for adopting this work.

@ljharb ljharb merged commit e48cb85 into nvm-sh:master Dec 8, 2020
@chenrui333 chenrui333 deleted the update-travis branch December 8, 2020 23:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testing Stuff related to testing nvm itself.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants