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

brew cask install

上级 c9428b5b
...@@ -15,8 +15,12 @@ services: ...@@ -15,8 +15,12 @@ services:
- docker - docker
install: install:
- if [ "$TRAVIS_OS_NAME" == 'osx' ]; then brew tap caskroom/cask && brew cask install google-chrome; fi - if [ "$TRAVIS_OS_NAME" == 'osx' ]; then brew tap caskroom/cask; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then export DISPLAY=':99.0' && (Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &); fi - if [ "$TRAVIS_OS_NAME" == 'osx' ]; then brew install brew-cask; fi
- if [ "$TRAVIS_OS_NAME" == 'osx' ]; then brew cask install google-chrome; fi
- if [ "$TRAVIS_OS_NAME" == 'linux' ]; then export DISPLAY=':99.0'; fi
- if [ "$TRAVIS_OS_NAME" == 'linux' ]; then (Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &); fi
script: script:
- echo $TRAVIS_OS_NAME - echo $TRAVIS_OS_NAME
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册