使用速度,流星和travis ci

时间:2015-02-25 20:43:12

标签: javascript node.js meteor travis-ci

我在Meteor中创建了一个基本应用程序,并使用了velocity with 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"

不幸的是,这似乎是be based on the deprecated laika framework

有没有办法在流星应用程序上使用速度框架并将其构建在travis ci上?

1 个答案:

答案 0 :(得分:3)

我试图让Travis上的黄瓜测试运行时遇到了同样的问题。

事实证明,就像在官方网站上通过推荐方式安装Meteor一样简单。 以下是我在project上使用的配置:

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"
相关问题