在Travis-CI上运行Google App Engine并使用PhantomJS进行测试 [英] Run a Google App Engine on Travis-CI and test it with PhantomJS

查看:155
本文介绍了在Travis-CI上运行Google App Engine并使用PhantomJS进行测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法运行Google App Engine 开发应用服务器 Travis-CI 上的实例,然后使用 PhantomJS / CasperJS



人们不一定会认为这是一件非常具有挑战性的事情,但我会很感激任何相关的文件,想法和建议。 解决方案

这是在Travis Github上讨论的问题,以及任何情况下,我的解决方案已将此添加到 .travis.yml

  before_script:
- wget https://googleappengine.googlecode.com/files/google_appengine_1.8.9.zip -nv
- unzip -q google_appengine_1.8.9.zip

我希望这有助于。


Is there a way to run a Google App Engine development appserver instance on Travis-CI, and then test that app with PhantomJS/CasperJS?

One would not necessarily expect this to be a tremendously challenging thing, but I would be grateful for any relevant document, thoughts and suggestions.

解决方案

This was discussed on Travis Github/issues, and in any case my solution has been to add this to .travis.yml:

before_script:
- wget https://googleappengine.googlecode.com/files/google_appengine_1.8.9.zip -nv
- unzip -q google_appengine_1.8.9.zip

I hope this helps.

这篇关于在Travis-CI上运行Google App Engine并使用PhantomJS进行测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆