Zernit/QA/travis-ci/travis-common.sh

17 lines
253 B
Bash
Raw Normal View History

2020-02-06 04:32:56 +01:00
#!/bin/sh
# Simplified error handling
die() {
2020-02-09 17:48:58 +01:00
printf 'FATAL: %s\n' "$2"
exit "$1"
2020-02-06 04:32:56 +01:00
}
# Simplified QA handling
fixme() {
2020-02-09 18:24:40 +01:00
printf 'FIXME: %s\n' "$1"
2020-02-06 04:32:56 +01:00
}
# Simplified info messages
info() {
2020-02-09 17:48:58 +01:00
printf 'INFO: %s\n' "$1"
2020-02-06 04:32:56 +01:00
}
warn() {
2020-02-09 17:48:58 +01:00
printf 'WARN: %s\n' "$1"
2020-02-06 04:32:56 +01:00
}