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

try to fix chrome version inside travis-ci

上级 559f4986
#!/bin/bash
# Holy shit batman!
# https://github.com/travis-ci/travis-ci/issues/938
# https://github.com/travis-ci/travis-ci/issues/2555
sudo apt-get install -y python-software-properties
sudo apt-add-repository "deb http://dl.google.com/linux/chrome/deb/ stable main"
sudo sed -i s/deb-src.*google.*//g /etc/apt/sources.list
wget -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo apt-get update -qq
sudo apt-get install -y google-chrome-stable
sudo chmod 1777 /dev/shm
......@@ -2,6 +2,13 @@ language: node_js
node_js:
- "6.1"
- "6"
before_install:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- ./.travis.chrome.sh
cache:
directories:
- node_modules
notifications:
webhooks:
urls:
......@@ -9,3 +16,4 @@ notifications:
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册