Add automatic tests for pull requests

Now when you send a pull request Travis CI will build the entire
repository and run all the tests for you automatically. It takes
approximately two minutes to finish so you can get fast feedback
This commit is contained in:
Justine Tunney 2021-03-06 21:23:18 -08:00
parent 813e11b90b
commit 4d4aa9e791
3 changed files with 5 additions and 1 deletions

4
.travis.yml Normal file
View file

@ -0,0 +1,4 @@
virt: lxd
os: linux
language: c
script: make -j4 V=0

Binary file not shown.

View file

@ -500,7 +500,7 @@ int main(int argc, char *argv[]) {
* log command being run
*/
if (!strcmp(nulltoempty(getenv("V")), "0") && !IsTerminalInarticulate()) {
p = xasprintf("\e[F\e[K%-15s%s\r\n", firstnonnull(action, "BUILD"),
p = xasprintf("\r\e[K%-15s%s\r", firstnonnull(action, "BUILD"),
firstnonnull(target, nulltoempty(outpath)));
n = strlen(p);
} else {