使用 velocity、meteor 和 travis ci
use velocity, meteor, and 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。
有没有办法在 meteor 应用程序上使用 velocity 框架并在 travis ci 上构建它?
我在 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"
我在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。
有没有办法在 meteor 应用程序上使用 velocity 框架并在 travis ci 上构建它?
我在 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"