cor*_*vid 5 javascript node.js travis-ci meteor
我在Meteor中做了一个基本的应用程序,并使用了mocha的速度.我试图找到基于travis ci的方法.特拉维斯建议使用以下方法.travis.yml
language: node_js
node_js:
- "0.10"
before_install:
- "curl -L http://git.io/3l-rRA | /bin/sh"
services:
- mongodb
env:
- LAIKA_OPTIONS="-t 5000"
Run Code Online (Sandbox Code Playgroud)
不幸的是,这似乎是基于已弃用的laika框架.
有没有办法在流星应用程序上使用速度框架并将其构建在travis ci上?
我在尝试在 Travis 上启动并运行黄瓜测试时遇到了同样的问题。
事实证明,这就像通过官方网站上推荐的方式安装 Meteor 一样简单。这是我在项目中使用的配置:
sudo: required
language: node_js
node_js:
- "0.12"
install:
- "curl https://install.meteor.com | /bin/sh"
- "meteor update"
script:
- "meteor --test --once"
env:
- "SELENIUM_BROWSER=phantomjs"
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
236 次 |
| 最近记录: |