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

code clean

上级 d1391dab
......@@ -17,6 +17,7 @@ addons:
- jq
- shellcheck
- xvfb
- dbus-x11
cache:
directories:
......@@ -35,10 +36,6 @@ install:
- if [ "$TRAVIS_OS_NAME" == 'linux' ]; then export DISPLAY=':99.0'; fi
- if [ "$TRAVIS_OS_NAME" == 'linux' ]; then sh -e /etc/init.d/xvfb start; fi
# - if [ "$TRAVIS_OS_NAME" == 'linux' ]; then wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb; fi
# - if [ "$TRAVIS_OS_NAME" == 'linux' ]; then sudo dpkg -i google-chrome*.deb; fi
# - if [ "$TRAVIS_OS_NAME" == 'linux' ]; then sudo apt-get install jq; fi
- npm install phantomjs-prebuilt
- npm --progress false --loglevel warn install
......@@ -51,7 +48,6 @@ script:
- shellcheck bin/*.sh
- npm run lint
- npm run dist
# - if [ "$TRAVIS_OS_NAME" == 'linux' ]; then WECHATY_LOG=silly npm run test:phantomjs; fi
# https://github.com/SeleniumHQ/docker-selenium/issues/87#issuecomment-187580115
- if [ "$TRAVIS_OS_NAME" == 'linux' ]; then DBUS_SESSION_BUS_ADDRESS=/dev/null WECHATY_LOG=silly npm run test:chrome; fi
- if [ "$TRAVIS_OS_NAME" == 'osx' ]; then WECHATY_LOG=verbose npm run nycava; fi
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册