This repository was archived by the owner on Apr 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27.4k
chore(travis): update to use node 4.x #13552
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
language: node_js | ||
sudo: false | ||
node_js: | ||
- '0.10' | ||
- '4.2' | ||
|
||
cache: | ||
directories: | ||
|
@@ -20,24 +20,21 @@ env: | |
- JOB=docs-e2e BROWSER_PROVIDER=saucelabs | ||
- JOB=e2e TEST_TARGET=jqlite BROWSER_PROVIDER=saucelabs | ||
- JOB=e2e TEST_TARGET=jquery BROWSER_PROVIDER=saucelabs | ||
# - JOB=unit BROWSER_PROVIDER=browserstack | ||
# - JOB=docs-e2e BROWSER_PROVIDER=browserstack | ||
# - JOB=e2e TEST_TARGET=jqlite BROWSER_PROVIDER=browserstack | ||
# - JOB=e2e TEST_TARGET=jquery BROWSER_PROVIDER=browserstack | ||
global: | ||
- CXX=g++-4.8 # node 4 likes the G++ v4.8 compiler | ||
- SAUCE_USERNAME=angular-ci | ||
- SAUCE_ACCESS_KEY=9b988f434ff8-fbca-8aa4-4ae3-35442987 | ||
- BROWSER_STACK_USERNAME=VojtaJina | ||
- BROWSER_STACK_ACCESS_KEY=QCQJ1ZpWXpBkSwEdD8ev | ||
- LOGS_DIR=/tmp/angular-build/logs | ||
- BROWSER_PROVIDER_READY_FILE=/tmp/browsersprovider-tunnel-ready | ||
|
||
#matrix: | ||
# allow_failures: | ||
# - env: "JOB=unit BROWSER_PROVIDER=browserstack" | ||
# - env: "JOB=docs-e2e BROWSER_PROVIDER=browserstack" | ||
# - env: "JOB=e2e TEST_TARGET=jqlite BROWSER_PROVIDER=browserstack" | ||
# - env: "JOB=e2e TEST_TARGET=jquery BROWSER_PROVIDER=browserstack" | ||
# node 4 likes the G++ v4.8 compiler | ||
# see https://docs.travis-ci.com/user/languages/javascript-with-nodejs#Node.js-v4-(or-io.js-v3)-compiler-requirements | ||
addons: | ||
apt: | ||
sources: | ||
- ubuntu-toolchain-r-test | ||
packages: | ||
- g++-4.8 | ||
|
||
install: | ||
# Check the size of caches | ||
|
@@ -47,7 +44,7 @@ install: | |
- npm config set spin false | ||
# Log HTTP requests | ||
- npm config set loglevel http | ||
- npm install -g [email protected] | ||
#- npm install -g [email protected] | ||
# Install npm dependencies and ensure that npm cache is not stale | ||
- npm install | ||
|
||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be nice to have a comment that explains what this is and why we need it