When running only a few minimal unit tests, no acceptance tests and no coverage check, the grunt command doesn't fail.
Hence I tried to configure Travis, to run tests after each commit on github, as follow:
.travis.yml:
language: node_js
node_js:
- "0.10"
before_install:
- curl https://install.meteor.com | /bin/sh
- npm -g coffee-script meteorite
- npm i -g karma phantomjs istanbul grunt-cli selenium-webdriver mocha karma-chai
services:
- mongodb
notifications:
email:
- coinsmanager@gmail.com
Makefile
test:
cd test/rtd && ./rtd --debug
.PHONY: test
.gitmodules (replace git → https)
[submodule "test/rtd"]
path = test/rtd
url = https://github.com/xolvio/rtd.git
But there are 2 problems:
-
From https://travis-ci.org/CoinsManager/CoinsManager/builds/18244442:
./rtd: line 5: cd: ./node_modules/.bin: No such file or directory
-
Because rtd is a ci tool in itself and never stops, the travis build will never finish. How can I specify RTD to run a single set of tests and quit ?
Thank you for your help. I'll set up a new module travis-rtd-meteor or something, to make it easier for other rtd users to integrate Travis as well.
When running only a few minimal unit tests, no acceptance tests and no coverage check, the grunt command doesn't fail.
Hence I tried to configure Travis, to run tests after each commit on github, as follow:
.travis.yml:Makefile.gitmodules(replace git → https)But there are 2 problems:
From https://travis-ci.org/CoinsManager/CoinsManager/builds/18244442:
Because rtd is a ci tool in itself and never stops, the travis build will never finish. How can I specify RTD to run a single set of tests and quit ?
Thank you for your help. I'll set up a new module travis-rtd-meteor or something, to make it easier for other rtd users to integrate Travis as well.