Skip to content

[READY] Use Node.js v4 LTS on Linux Travis - #632

Merged
homu merged 1 commit into
ycm-core:masterfrom
micbou:typescript-travis
Oct 26, 2016
Merged

homu merged 1 commit into
ycm-core:masterfrom
micbou:typescript-travis

Conversation

@micbou

@micbou micbou commented Oct 26, 2016 •

Copy link
Copy Markdown
Collaborator

Our Linux builds on Travis are failing because the latest version of TSServer (2.0.6) is not working with Node.js 0.12 or older (see issue microsoft/TypeScript#11840) and the pre-installed version of Node.js on Travis is 0.10.36. The TSServer issue is fixed upstream but we can't wait for TypeScript 2.1 to be released. We have two options here:

  • pin the version of TypeScript to the last working version (2.0.3);
  • use a newer version of Node.js.

I went for the second solution as support for the current version of Node.js on Travis will be dropped very soon.

I removed the shell debugging option set -v because when this option is enabled, the build is failing while running the nvm command.


This change is Reviewable

Latest version of TSServer (2.0.6) is not working with the pre-installed
version of Node.js on Linux Travis (0.10.36). Since this version of
Node.js will be soon not maintained anymore, we install a newer version.
@Valloric

Copy link
Copy Markdown
Member

Thanks!

:lgtm:


Review status: 0 of 2 files reviewed at latest revision, all discussions resolved.


Comments from Reviewable

@codecov-io

codecov-io commented Oct 26, 2016 •

Copy link
Copy Markdown

Current coverage is 93.54% (diff: 100%)

Merging #632 into master will increase coverage by 0.02%

@@             master       #632   diff @@
==========================================
  Files            41         41          
  Lines          3856       3856          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits           3606       3607     +1   
+ Misses          250        249     -1   
  Partials          0          0          

Powered by Codecov. Last update 525a971...902bf1c

@vheon

vheon commented Oct 26, 2016

Copy link
Copy Markdown
Contributor

:lgtm: @homu r=Valloric


Reviewed 2 of 2 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.


Comments from Reviewable

@homu

homu commented Oct 26, 2016

Copy link
Copy Markdown
Contributor

📌 Commit 902bf1c has been approved by Valloric

@homu
homu merged commit 902bf1c into ycm-core:master Oct 26, 2016
homu added a commit that referenced this pull request Oct 26, 2016
[READY] Use Node.js v4 LTS on Linux Travis

Our Linux builds on Travis are failing because the latest version of TSServer (2.0.6) is not working with Node.js 0.12 or older (see issue microsoft/TypeScript#11840) and the pre-installed version of Node.js on Travis is 0.10.36. [The TSServer issue is fixed upstream](microsoft/TypeScript#11845) but we can't wait for TypeScript 2.1 to be released. We have two options here:
 - pin the version of TypeScript to the last working version (2.0.3);
 - use a newer version of Node.js.

I went for the second solution as [support for the current version of Node.js on Travis will be dropped very soon](https://github.com/nodejs/LTS).

I removed the shell debugging option `set -v`  because when this option is enabled, the build is failing while running the `nvm` command.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/valloric/ycmd/632)
<!-- Reviewable:end -->
@homu

homu commented Oct 26, 2016

Copy link
Copy Markdown
Contributor

⚡ Test exempted - status

@micbou
micbou deleted the typescript-travis branch October 26, 2016 23:40
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.

5 participants