diff options
author | Jason Gross <jgross@mit.edu> | 2017-06-26 12:17:53 -0400 |
---|---|---|
committer | Jason Gross <jgross@mit.edu> | 2017-07-21 03:36:47 -0400 |
commit | 8a5d161099900945df98c56fd7fffa30fca9fb44 (patch) | |
tree | c6bc7553bded0a3d93a5df16e25b5b40b33544cb /Makefile.ci | |
parent | 987655c3bc8a8ebd60856356f465b3c34eb4e252 (diff) |
Alternate way of doing timing on ci
This puts the boilerplate all in one place
Diffstat (limited to 'Makefile.ci')
-rw-r--r-- | Makefile.ci | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile.ci b/Makefile.ci index c8bc09fdc..1b09905cc 100644 --- a/Makefile.ci +++ b/Makefile.ci @@ -24,4 +24,9 @@ CI_TARGETS=ci-all \ # Generic rule, we use make to easy travis integraton with mixed rules $(CI_TARGETS): ci-%: - +./dev/ci/ci-$*.sh + rm -f ci-$*.ok + +(./dev/ci/ci-$*.sh 2>&1 && touch ci-$*.ok) | tee time-of-build.log + echo 'Aggregating timing log...' && echo -en 'travis_fold:start:coq.test.timing\\r' + python ./tools/make-one-time-file.py time-of-build.log + echo -en 'travis_fold:end:coq.test.timing\\r' + rm ci-$*.ok # must not be -f; we're checking to see that it exists |