提交 ceb5c1c0 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓)

add node v7 test

上级 24bf66a3
......@@ -2,6 +2,7 @@ language: node_js
node_js:
- "6"
- "7"
os:
- linux
......@@ -23,7 +24,7 @@ before_install:
- "npm config set progress=false"
install:
- if [ "$TRAVIS_OS_NAME" == 'osx' ]; then brew update; brew cleanup; brew cask cleanup; fi
- if [ "$TRAVIS_OS_NAME" == 'osx' ]; then brew update; brew cleanup; brew cask cleanup; fi
- if [ "$TRAVIS_OS_NAME" == 'osx' ]; then brew uninstall --force brew-cask; brew update; fi
- if [ "$TRAVIS_OS_NAME" == 'osx' ]; then brew cask install --force google-chrome; fi
......
......@@ -3,8 +3,9 @@
# Test against these versions of Io.js and Node.js.
environment:
matrix:
# node.js
- nodejs_version: "6"
- nodejs_version: "7"
# Install scripts. (runs after repo cloning)
install:
......
machine:
node:
version: 6
dependencies:
pre:
- google-chrome --version
......@@ -9,4 +9,9 @@ dependencies:
- sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
- sudo apt-get update
- sudo apt-get --only-upgrade install google-chrome-stable
- google-chrome --version
\ No newline at end of file
- google-chrome --version
test:
override:
- nvm use 6; npm test
- nvm use 7; npm test
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册