mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-07 06:53:33 +00:00
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:
parent
813e11b90b
commit
4d4aa9e791
3 changed files with 5 additions and 1 deletions
4
.travis.yml
Normal file
4
.travis.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
virt: lxd
|
||||
os: linux
|
||||
language: c
|
||||
script: make -j4 V=0
|
Binary file not shown.
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue