From 4984ed85e54f442998a335db70618d6184fa397e Mon Sep 17 00:00:00 2001 From: yiminghe Date: Thu, 4 Aug 2016 19:53:55 +0800 Subject: 2.x :boom: --- .travis.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 15c7ce7..e780b32 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,7 @@ language: node_js +sudo: false + notifications: email: - yiminghe@gmail.com @@ -14,9 +16,8 @@ before_install: echo "Only docs were updated, stopping build process." exit fi - npm install mocha-phantomjs -g + npm install npm@3.x -g phantomjs --version - script: - | if [ "$TEST_TYPE" = test ]; then @@ -24,9 +25,8 @@ script: else npm run $TEST_TYPE fi - env: matrix: - TEST_TYPE=lint - - TEST_TYPE=browser-test - - TEST_TYPE=browser-test-cover + - TEST_TYPE=test + - TEST_TYPE=coverage -- cgit v1.2.3