Remove Travis CI files from project
This removes Travis CI configuration, which will be replaced by Gitlab CI
This commit is contained in:
parent
43fcc894e6
commit
0fdf27b207
19
.travis.yml
19
.travis.yml
|
@ -1,19 +0,0 @@
|
|||
language: "python"
|
||||
python: "3.6"
|
||||
sudo: required
|
||||
addons:
|
||||
apt:
|
||||
update: true
|
||||
sources:
|
||||
- debian-sid
|
||||
install:
|
||||
- sudo apt install shellcheck qemu-system-x86
|
||||
- pip install flake8 pytest-cov python-coveralls
|
||||
script:
|
||||
- .travis/travis_script.sh
|
||||
after_success:
|
||||
- coveralls
|
||||
after_failure:
|
||||
- .travis/travis_after_failure.sh
|
||||
notifications:
|
||||
- email: false
|
|
@ -1,45 +0,0 @@
|
|||
# Source: .travis/common.sh from Alpine's aports repo
|
||||
|
||||
die() {
|
||||
print -s1 -c1 "$@\n" 1>&2
|
||||
exit 1
|
||||
}
|
||||
|
||||
# Marks start of named folding section for Travis and prints title.
|
||||
fold_start() {
|
||||
local name="$1"
|
||||
local title="$2"
|
||||
|
||||
printf "\ntravis_fold:start:$name "
|
||||
print -s1 -c6 "> $title\n"
|
||||
}
|
||||
|
||||
# Marks end of the named folding section.
|
||||
fold_end() {
|
||||
local name="$1"
|
||||
|
||||
printf "travis_fold:end:$name\n"
|
||||
}
|
||||
|
||||
# Prints formatted and colored text.
|
||||
print() {
|
||||
local style=0
|
||||
local fcolor=9
|
||||
|
||||
local opt; while getopts 's:c:' opt; do
|
||||
case "$opt" in
|
||||
s) style="$OPTARG";;
|
||||
c) fcolor="$OPTARG";;
|
||||
esac
|
||||
done
|
||||
|
||||
shift $(( OPTIND - 1 ))
|
||||
local text="$@"
|
||||
|
||||
printf "\033[${style};3${fcolor}m$text\033[0m"
|
||||
}
|
||||
|
||||
title() {
|
||||
printf '\n'
|
||||
print -s1 -c6 "==> $@\n"
|
||||
}
|
|
@ -1,18 +0,0 @@
|
|||
#!/bin/sh -e
|
||||
|
||||
# Go to pmbootstrap folder
|
||||
DIR="$(cd "$(dirname "$0")" && pwd -P)"
|
||||
cd "$DIR/.."
|
||||
|
||||
# Functions for pretty Travis output
|
||||
. .travis/common.sh
|
||||
|
||||
# pmbootstrap log
|
||||
fold_start "log.1" "pmbootstrap log"
|
||||
cat ~/.local/var/pmbootstrap/log.txt
|
||||
fold_end "log.1"
|
||||
|
||||
# Testsuite log
|
||||
fold_start "log.2" "Testsuite log"
|
||||
cat ~/.local/var/pmbootstrap/log_testsuite.txt
|
||||
fold_end "log.2"
|
|
@ -1,43 +0,0 @@
|
|||
#!/bin/sh -e
|
||||
|
||||
# Go to pmbootstrap folder
|
||||
DIR="$(cd "$(dirname "$0")" && pwd -P)"
|
||||
cd "$DIR/.."
|
||||
|
||||
# Functions for pretty Travis output
|
||||
. .travis/common.sh
|
||||
|
||||
# Wiki device documentation
|
||||
fold_start "wiki_check" "Wiki device documentation"
|
||||
if [ "$TRAVIS_BRANCH" = "master" ]; then
|
||||
echo "*** Pull request to master (assuming all devices boot)"
|
||||
test/check_devices_in_wiki.py --booting
|
||||
else
|
||||
test/check_devices_in_wiki.py
|
||||
fi
|
||||
fold_end "wiki_check"
|
||||
|
||||
# Static code analysis
|
||||
fold_start "static_analysis" "Static code analysis"
|
||||
test/static_code_analysis.sh
|
||||
fold_end "static_analysis"
|
||||
|
||||
# pmbootstrap init
|
||||
fold_start "init" "pmbootstrap init"
|
||||
yes "" | ./pmbootstrap.py init
|
||||
fold_end "init"
|
||||
|
||||
# pmbootstrap kconfig_check
|
||||
fold_start "kconfig_check" "pmbootstrap kconfig check"
|
||||
./pmbootstrap.py kconfig check
|
||||
fold_end "kconfig_check"
|
||||
|
||||
# pmbootstrap build --strict
|
||||
fold_start "build" "pmbootstrap build --strict"
|
||||
test/check_checksums.py --build
|
||||
fold_end "build"
|
||||
|
||||
# Testsuite
|
||||
fold_start "testsuite" "Testsuite and code coverage"
|
||||
test/testcases_fast.sh --all
|
||||
fold_end "testsuite"
|
Loading…
Reference in New Issue