【发布时间】:2015-10-26 09:47:15
【问题描述】:
我正在尝试设置 TravisCI 以在 C 项目中为我进行自动构建和测试。
为了学习和理解它,我制作了一个示例 github repo 以使其在将其移至我的最终项目之前运行。
我的Project 基本上由 3 个文件组成:
.travis.yml:
language: C
制作文件:
hellomake: main.c
gcc -o hellomake main.c -I.
main.c:
#include <stdio.h>
void main()
{
printf("Hello World!");
}
由于现在是项目,我在 Travis 中收到以下错误:
0.00s$ ./configure && make && make test
/home/travis/build.sh: line 41: ./configure: No such file or directory
The command "./configure && make && make test" exited with 127.
我错过了什么或做错了什么?
【问题讨论】:
-
./configure不是必需的。只需运行make -
如何指定?