diff --git a/.codecov.yml b/.codecov.yml deleted file mode 100644 index 83eac7f..0000000 --- a/.codecov.yml +++ /dev/null @@ -1,15 +0,0 @@ -# -# Copyright (C) 2020 CismonX -# -# Copying and distribution of this file, with or without modification, are -# permitted in any medium without royalty, provided the copyright notice and -# this notice are preserved. This file is offered as-is, without any warranty. -# - -ignore: - - "src/logging.c" - - "src/mnemonic.c" -coverage: - range: 50..90 - round: down - precision: 2 diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..ebf31b8 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,22 @@ +# +# Copyright (C) 2021 CismonX +# +# Copying and distribution of this file, with or without modification, are +# permitted in any medium without royalty, provided the copyright notice and +# this notice are preserved. This file is offered as-is, without any warranty. +# + +kind: pipeline +type: docker +name: default + +steps: + - name: build + image: pureos/amber-slim + commands: + - apt -y install build-essential autoconf automake dejagnu + - autoreconf --install + - ./configure CFLAGS='-O0 -g -std=c99 -Wall -Wextra -Wpedantic --coverage' + - make + - make check + - gcov src/*.c diff --git a/.gitattributes b/.gitattributes deleted file mode 100644 index 8ba09c5..0000000 --- a/.gitattributes +++ /dev/null @@ -1,13 +0,0 @@ -# -# Copyright (C) 2020 CismonX -# -# Copying and distribution of this file, with or without modification, are -# permitted in any medium without royalty, provided the copyright notice and -# this notice are preserved. This file is offered as-is, without any warranty. -# - -# Attributes for GitHub Linguist -*.h linguist-language=c -tests/* linguist-detectable=false -configure.ac linguist-detectable=false -Makefile.am linguist-detectable=false diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index b8d25dd..0000000 --- a/.travis.yml +++ /dev/null @@ -1,49 +0,0 @@ -# -# Copyright (C) 2020 CismonX -# -# Copying and distribution of this file, with or without modification, are -# permitted in any medium without royalty, provided the copyright notice and -# this notice are preserved. This file is offered as-is, without any warranty. -# - -language: c - -os: - - linux - - osx - -dist: bionic - -compiler: - - gcc - - clang - -addons: - apt: - update: true - packages: - - dejagnu - homebrew: - update: true - packages: - - dejagnu - -branches: - only: - - master - -before_script: - - export GCOV_BIN=`test $TRAVIS_COMPILER = clang && echo 'llvm-cov gcov' || echo gcov` - - test $TRAVIS_OS_NAME = osx && export PATH=$PATH:/Library/Developer/CommandLineTools/usr/bin || true - -script: - - autoreconf --install - - ./configure CFLAGS='-O0 -g -Wall -Wextra -Wpedantic -coverage' - - make - - make check - - $GCOV_BIN src/*.c - - sudo make install - - command -v u6a u6ac - -after_success: - - test $TRAVIS_OS_NAME = osx && true || bash <(curl -s https://codecov.io/bash) diff --git a/README.md b/README.md index dd2eec7..ebcdd48 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@