【发布时间】:2014-11-29 22:21:53
【问题描述】:
我正在尝试在 Travis CI 上运行我的 protractor-example 测试,但它一直失败。以为是我的 .travis.yml,所以我把它删掉了……
.travis.yml
language: node_js
node_js:
- "0.10"
script:
- echo "Hello..."
与我之前的所有尝试一样,这以以下内容结束:
Using worker: worker-linux-5-2.bb.travis-ci.org:travis-linux-2
git.1
0.13s$ git clone --depth=50 --branch=master git://github.com/qualityshepherd/protractor_example.git qualityshepherd/protractor_example
Cloning into 'qualityshepherd/protractor_example'...
remote: Counting objects: 109, done.
remote: Compressing objects: 100% (19/19), done.
remote: Total 109 (delta 7), reused 0 (delta 0)
Receiving objects: 100% (109/109), 15.47 KiB | 0 bytes/s, done.
Resolving deltas: 100% (40/40), done.
Checking connectivity... done.
$ cd qualityshepherd/protractor_example
git.4
$ git checkout -qf 29c4ac38db161b95b5b05b6cb90881d9de2020f6
couchdb stop/waiting
0.55s$ nvm install 0.10
######################################################################## 100.0%
Now using node v0.10.32
0.45s0.02s$ node --version
v0.10.32
0.45s$ npm --version
1.4.28
0.01s$ make test
make: *** No rule to make target `test'. Stop.
The command "make test" exited with 2.
Done. Your build exited with 1.
我不确定它为什么会运行 make...它从来没有命中我的 script。我做错了什么?
【问题讨论】:
标签: node.js makefile protractor travis-ci