Browse Source

Switch to self-hosted CI (Drone).

master
CismonX 6 months ago
parent
commit
c265de4722
Signed by: CismonX GPG Key ID: 3094873E29A482FB
  1. 15
      .codecov.yml
  2. 22
      .drone.yml
  3. 13
      .gitattributes
  4. 49
      .travis.yml
  5. 9
      README.md

15
.codecov.yml

@ -1,15 +0,0 @@
#
# Copyright (C) 2020 CismonX <admin@cismon.net>
#
# 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

22
.drone.yml

@ -0,0 +1,22 @@
#
# Copyright (C) 2021 CismonX <admin@cismon.net>
#
# 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

13
.gitattributes

@ -1,13 +0,0 @@
#
# Copyright (C) 2020 CismonX <admin@cismon.net>
#
# 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

49
.travis.yml

@ -1,49 +0,0 @@
#
# Copyright (C) 2020 CismonX <admin@cismon.net>
#
# 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)

9
README.md

@ -1,5 +1,5 @@
<!--
Copyright (C) 2020 CismonX <admin@cismon.net>
Copyright (C) 2020,2021 CismonX <admin@cismon.net>
Copying and distribution of this file, with or without modification, are
permitted in any medium without royalty, provided the copyright notice and
@ -8,9 +8,8 @@ this notice are preserved. This file is offered as-is, without any warranty.
# U6a
[![Travis CI](https://travis-ci.com/esolangs/u6a.svg)](https://travis-ci.com/esolangs/u6a)
[![Codecov](https://codecov.io/gh/esolangs/u6a/branch/master/graphs/badge.svg)](https://codecov.io/gh/esolangs/u6a)
[![LICENSE](https://img.shields.io/badge/license-GPL--3.0--or--later-blue.svg)](LICENSE)
[![Build Status](https://drone.cismon.net/api/badges/esolangs/u6a/status.svg)](https://drone.cismon.net/esolangs/u6a)
[![License](https://img.shields.io/badge/license-GPL--3.0--or--later-blue.svg)](LICENSE)
Implementation of Unlambda, an esoteric programming language.
@ -18,7 +17,7 @@ Implementation of Unlambda, an esoteric programming language.
The U6a project provides a bytecode compiler and a runtime system for the [Unlambda](http://www.madore.org/~david/programs/unlambda/) programming language.
Ideas behind this implementation can be found [here](https://github.com/esolangs/u6a/wiki/Developer's-Notes-on-Implementing-Unlambda).
Ideas behind this implementation can be found [here](https://git.cismon.net/esolangs/u6a/wiki/Developer%27s-Notes-on-Implementing-Unlambda).
U6a is free software. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Loading…
Cancel
Save