Skip to content

Make some updates in Travis config #2104

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
Dec 8, 2020
Merged

Make some updates in Travis config #2104

merged 1 commit into from
Dec 8, 2020

Conversation

chenrui333
Copy link
Contributor

No description provided.

Verified

This commit was signed with the committer’s verified signature.
ljharb Jordan Harband
@@ -12,7 +11,6 @@ addons:
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.

None yet

2 participants