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

drop(phantomjs) not supported any more (#763)

上级 7c107d91
......@@ -36,7 +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
- npm install phantomjs-prebuilt
- npm --progress false --loglevel warn install
script:
......
......@@ -36,7 +36,6 @@ WORKDIR /wechaty
COPY package.json .
RUN sed -i '/chromedriver/d' package.json \
&& npm --silent --progress=false install > /dev/null \
&& npm --silent --progress=false install phantomjs-prebuilt > /dev/null \
&& rm -fr /tmp/* ~/.npm
# Loading from node_modules Folders: https://nodejs.org/api/modules.html
......
......@@ -15,7 +15,6 @@ install:
- choco install jq
# install modules
- npm --progress=false install > nul 2>&1
- npm --progress=false install phantomjs-prebuilt > nul 2>&1
# Post-install test scripts.
test_script:
......
......@@ -33,7 +33,6 @@
"sloc": "sloc bin example src test index.ts --details --format cli-table --keys total,source,comment && sloc bin example src test index.ts",
"test": "npm run test:chrome",
"posttest": "npm run clean && npm run sloc",
"test:phantomjs": "cross-env LC_ALL=C WECHATY_HEAD=phantomjs ava --verbose --fail-fast --serial --timeout=5m \"dist/{src,test}/**/*.spec.js\"",
"test:chrome": "cross-env LC_ALL=C WECHATY_HEAD=chrome ava --serial --fail-fast --verbose --timeout=5m \"dist/{src,test}/**/*.spec.js\"",
"test:bug": "cross-env LC_ALL=C WECHATY_HEAD=chrome WECHATY_LOG=silly ava --serial --fail-fast --verbose --timeout=5m \"dist/src/message.spec.js\"",
"test:chrome:fast": "cross-env LC_ALL=C WECHATY_HEAD=chrome ava --concurrency 5 --fail-fast --timeout=5m \"dist/{src,test}/**/*.spec.js\"",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册