Skip to content

Commit f6d37ec

Browse files
committed
travis up npm & iojs
1 parent 942caf5 commit f6d37ec

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
language: node_js
22
node_js:
3-
- "iojs-v1.6.2"
3+
- iojs
44
git:
55
# javascipt-turorial submodule is checked out manually with token,
66
# in install hook

scripts/travis/install.sh

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,11 @@ fi
8080
# ===== Latest npm ==========
8181
# need latest npm (less bugs)
8282
# install global packages 1-by-1 for less bugs too
83-
npm i -g npm
84-
npm i -g mocha
85-
npm i -g bunyan
86-
npm i -g gulp
83+
npm i -g pangyp
84+
npm i -g npm --node-gyp=pangyp
85+
npm i -g mocha --node-gyp=pangyp
86+
npm i -g bunyan --node-gyp=pangyp
87+
npm i -g gulp --node-gyp=pangyp
8788

8889

8990
# Turn off unneeded services to free some memory
@@ -107,7 +108,7 @@ sudo apt-get update
107108
sudo apt-get install -y mongodb-org=2.6.8 mongodb-org-server=2.6.8 mongodb-org-shell=2.6.8 mongodb-org-mongos=2.6.8 mongodb-org-tools=2.6.8
108109
sudo /etc/init.d/mongodb restart
109110

110-
npm install
111+
npm install --node-gyp=pangyp
111112

112113
# deploy nginx config
113114
sudo gulp config:nginx --prefix /etc/nginx --root /js/javascript-nodejs --env test --clear

0 commit comments

Comments
 (0)