From 142047e838a7b97527bf6296f7b2f2d4b965abe0 Mon Sep 17 00:00:00 2001 From: Nicholas Fraser Date: Wed, 14 Jul 2021 10:54:55 -0400 Subject: [PATCH] Replace badges, remove remaining Travis/Appveyor references --- README.md | 15 ++------------- test/unit/configure.py | 11 +++++------ tools/valgrind-suppressions | 2 +- 3 files changed, 8 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index bb647a1..865733a 100644 --- a/README.md +++ b/README.md @@ -16,19 +16,8 @@ The MPack featureset can be customized at compile-time to set which features, co ## Build Status -[travis-home]: https://travis-ci.org/ -[travis-mpack]: https://travis-ci.org/ludocode/mpack/branches -[appveyor-home]: https://ci.appveyor.com/ -[appveyor-mpack-master]: https://ci.appveyor.com/project/ludocode/mpack/branch/master -[appveyor-mpack-develop]: https://ci.appveyor.com/project/ludocode/mpack/branch/develop -[coveralls-home]: https://coveralls.io/ -[coveralls-mpack-master]: https://coveralls.io/github/ludocode/mpack?branch=master -[coveralls-mpack-develop]: https://coveralls.io/github/ludocode/mpack?branch=develop - - -| [Travis-CI][travis-home] | [AppVeyor][appveyor-home] | [Coveralls.io][coveralls-home] | -| :-------: | :----------: | :----------: | -| [Build Status][travis-mpack] | [Build Status][appveyor-mpack-develop] | [Build Status][coveralls-mpack-develop] | +[![Unit Tests](https://github.com/ludocode/mpack/workflows/Unit%20Tests/badge.svg)](https://github.com/ludocode/mpack/actions?query=workflow%3A%22Unit+Tests%22) +[![Coverage](https://coveralls.io/repos/ludocode/mpack/badge.svg?branch=develop&service=github)](https://coveralls.io/github/ludocode/mpack?branch=develop) ## The Node API diff --git a/test/unit/configure.py b/test/unit/configure.py index f592237..eac3132 100755 --- a/test/unit/configure.py +++ b/test/unit/configure.py @@ -411,17 +411,16 @@ def addDebugReleaseBuilds(name, cppflags, ldflags = []): addBuild('coverage', allfeatures + allconfigs + cflags + ["-DMPACK_GCOV=1", "--coverage", "-fno-inline", "-fno-inline-small-functions", "-fno-default-inline"], ["--coverage"]) - builds["coverage"].exclude = True # don't run coverage during "all". run separately by travis. + builds["coverage"].exclude = True # don't run coverage during "all". run separately by CI. if hasOg: addBuild('O0', allfeatures + allconfigs + cflags + ["-DDEBUG", "-O0"]) # sanitizers if msvc: - if not os.getenv("APPVEYOR"): # asan libraries not installed on appveyor - # https://devblogs.microsoft.com/cppblog/asan-for-windows-x64-and-debug-build-support/ - addDebugReleaseBuilds('sanitize-address', allfeatures + allconfigs + cflags + ["/fsanitize=address"], - ["/wholearchive:clang_rt.asan_dynamic-x86_64.lib", - "/wholearchive:clang_rt.asan_dynamic_runtime_thunk-x86_64.lib"]) + # https://devblogs.microsoft.com/cppblog/asan-for-windows-x64-and-debug-build-support/ + addDebugReleaseBuilds('sanitize-address', allfeatures + allconfigs + cflags + ["/fsanitize=address"], + ["/wholearchive:clang_rt.asan_dynamic-x86_64.lib", + "/wholearchive:clang_rt.asan_dynamic_runtime_thunk-x86_64.lib"]) elif compiler != "TinyCC": def addSanitizerBuilds(name, cppflags, ldflags=[]): if checkFlags(cppflags): diff --git a/tools/valgrind-suppressions b/tools/valgrind-suppressions index 6d67383..d27fc6b 100644 --- a/tools/valgrind-suppressions +++ b/tools/valgrind-suppressions @@ -1,6 +1,6 @@ # Note: match-leak-kinds is currently commented out because older -# versions of valgrind don't support it (like the one on Travis-CI.) +# versions of valgrind don't support it # C++ GCC 5.1 reachable objects # https://bugs.kde.org/show_bug.cgi?id=345307