Skip to content

Commit 61bfd7f

Browse files
committed
Updates travis.
1 parent 0a3c71d commit 61bfd7f

File tree

1 file changed

+25
-4
lines changed

1 file changed

+25
-4
lines changed

.travis.yml

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,28 @@
11
language: objective-c
2+
3+
env:
4+
matrix:
5+
- NODE_VERSION="0.10.33"
6+
- NODE_VERSION="0.12.0"
7+
- NODE_VERSION="iojs-1.0.4"
8+
- NODE_VERSION="iojs-1.1.0"
9+
210
before_install:
3-
- brew install node
4-
- npm install -g node-gyp
11+
- brew update
12+
- brew install nvm
13+
- mkdir ~/.nvm
14+
- export NVM_DIR=~/.nvm
15+
- source $(brew --prefix nvm)/nvm.sh
16+
- nvm install $NODE_VERSION
17+
- node --version
18+
- npm --version
19+
- npm update -g npm
20+
- npm --version
21+
22+
install:
23+
# put node-pre-gyp on path
24+
- export PATH=./node_modules/.bin/:$PATH
25+
526
script:
6-
- npm install --ignore-scripts
7-
- node-gyp rebuild
27+
- npm install --build-from-source
28+
- ./node_modules/.bin/node-pre-gyp package

0 commit comments

Comments
 (0)