Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

一些问题 #20

Open
miniflycn opened this issue Jan 26, 2018 · 3 comments
Open

一些问题 #20

miniflycn opened this issue Jan 26, 2018 · 3 comments

Comments

@miniflycn
Copy link
Member

  • 少有人弄好了 travis CI
@miniflycn
Copy link
Member Author

查文档解决问题是程序员基本能力哦~

实在差不多看这里吧:https://docs.travis-ci.com/user/gui-and-headless-browsers/

@shiiiiiiji
Copy link

才看到老师发的,整了一上午Travis CI,一直failed,再继续弄。。。

@jiaozitang
Copy link

jiaozitang commented Mar 18, 2019

image
已解决:
配置文件.travis.yml

language: node_js
node_js:
- "10"
before_inatall: npm install
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
script: npm run test

解决方法:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants