Skip to content

Commit 9630159

Browse files
chore(travis): update to use node 4.x
1 parent e3be5d6 commit 9630159

File tree

1 file changed

+11
-14
lines changed

1 file changed

+11
-14
lines changed

.travis.yml

+11-14
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
language: node_js
22
sudo: false
33
node_js:
4-
- '0.10'
4+
- '4.2'
55

66
cache:
77
directories:
@@ -20,24 +20,21 @@ env:
2020
- JOB=docs-e2e BROWSER_PROVIDER=saucelabs
2121
- JOB=e2e TEST_TARGET=jqlite BROWSER_PROVIDER=saucelabs
2222
- JOB=e2e TEST_TARGET=jquery BROWSER_PROVIDER=saucelabs
23-
# - JOB=unit BROWSER_PROVIDER=browserstack
24-
# - JOB=docs-e2e BROWSER_PROVIDER=browserstack
25-
# - JOB=e2e TEST_TARGET=jqlite BROWSER_PROVIDER=browserstack
26-
# - JOB=e2e TEST_TARGET=jquery BROWSER_PROVIDER=browserstack
2723
global:
24+
- CXX=g++-4.8 # node 4 likes the G++ v4.8 compiler
2825
- SAUCE_USERNAME=angular-ci
2926
- SAUCE_ACCESS_KEY=9b988f434ff8-fbca-8aa4-4ae3-35442987
30-
- BROWSER_STACK_USERNAME=VojtaJina
31-
- BROWSER_STACK_ACCESS_KEY=QCQJ1ZpWXpBkSwEdD8ev
3227
- LOGS_DIR=/tmp/angular-build/logs
3328
- BROWSER_PROVIDER_READY_FILE=/tmp/browsersprovider-tunnel-ready
3429

35-
#matrix:
36-
# allow_failures:
37-
# - env: "JOB=unit BROWSER_PROVIDER=browserstack"
38-
# - env: "JOB=docs-e2e BROWSER_PROVIDER=browserstack"
39-
# - env: "JOB=e2e TEST_TARGET=jqlite BROWSER_PROVIDER=browserstack"
40-
# - env: "JOB=e2e TEST_TARGET=jquery BROWSER_PROVIDER=browserstack"
30+
# node 4 likes the G++ v4.8 compiler
31+
# see https://docs.travis-ci.com/user/languages/javascript-with-nodejs#Node.js-v4-(or-io.js-v3)-compiler-requirements
32+
addons:
33+
apt:
34+
sources:
35+
- ubuntu-toolchain-r-test
36+
packages:
37+
- g++-4.8
4138

4239
install:
4340
# Check the size of caches
@@ -47,7 +44,7 @@ install:
4744
- npm config set spin false
4845
# Log HTTP requests
4946
- npm config set loglevel http
50-
- npm install -g [email protected]
47+
#- npm install -g [email protected]
5148
# Install npm dependencies and ensure that npm cache is not stale
5249
- npm install
5350

0 commit comments

Comments
 (0)