Browse Source

Remove vestiges of Travis/Waffle

They are no longer used and cause more confusion among users than they
add benefits. If/when @bhundven finishes the integration with GitLab,
he'll add new scripts and status.

Fixes #999.

Signed-off-by: Alexey Neyman <stilor@att.net>
dev-linux
Alexey Neyman 4 years ago
parent
commit
9eb15242b4
  1. 45
      .travis.sh
  2. 56
      .travis.yml
  3. 11
      README.md

45
.travis.sh

@ -1,45 +0,0 @@
# Add current directory to PATH
export PATH="$(pwd):$PATH"
# Manage the travis build
ct-ng_travis_build()
{
# Override the log behaviour
sed -i -e 's/^.*\(CT_LOG_ERROR\).*$/# \1 is not set/' \
-e 's/^.*\(CT_LOG_WARN\).*$/# \1 is not set/' \
-e 's/^.*\(CT_LOG_INFO\).*$/# \1 is not set/' \
-e 's/^.*\(CT_LOG_EXTRA\).*$/\1=y/' \
-e 's/^.*\(CT_LOG_ALL\).*$/# \1 is not set/' \
-e 's/^.*\(CT_LOG_DEBUG\).*$/# \1 is not set/' \
-e 's/^.*\(CT_LOG_LEVEL_MAX\).*$/\1="EXTRA"/' \
-e 's/^.*\(CT_LOG_PROGRESS_BAR\).*$/# \1 is not set/' \
-e 's/^.*\(CT_LOCAL_TARBALLS_DIR\).*$/\1="${HOME}\/src"/' \
-e 's/^.*\(CT_SAVE_TARBALLS\).*$/\1=y/' \
.config
# Build the sample
ct-ng build.8 &
local build_pid=$!
# Start a runner task to print a "still running" line every 5 minutes
# to avoid travis to think that the build is stuck
{
while true
do
sleep 300
printf "Crosstool-NG is still running ...\r"
done
} &
local runner_pid=$!
# Wait for the build to finish and get the result
wait $build_pid 2>/dev/null
local result=$?
# Stop the runner task
kill $runner_pid
wait $runner_pid 2>/dev/null
# Return the result
return $result
}

56
.travis.yml

@ -1,56 +0,0 @@
# Using container-based infrastructure
dist: trusty
sudo: false
# 'bash' will define a generic environment without interfering environment
# settings like "CC=gcc"
language: bash
# Only build the master branch
branches:
only:
- master
# Caching the downloaded src packages between several builds to save travis-ci
# download time and bandwidth
cache:
directories:
- $HOME/src
# Installing needed dependencies
addons:
apt:
packages:
- bison
- flex
- libncurses5-dev
- texinfo
- help2man
- g++
# Building crosstool-NG core
install:
- ./bootstrap
- ./configure --enable-local
- make
# Here is the list of all the standard samples tracked
# by the continuous integration system
env:
- CT_SAMPLE=arm-unknown-eabi
- CT_SAMPLE=arm-unknown-linux-musleabi
- CT_SAMPLE=aarch64-unknown-linux-gnu
- CT_SAMPLE=mips64el-multilib-linux-uclibc
- CT_SAMPLE=powerpc-e500v2-linux-gnuspe
- CT_SAMPLE=x86_64-unknown-linux-uclibc
- CT_SAMPLE=xtensa-fsf-linux-uclibc
# Building the standard samples
script:
- . ./.travis.sh # Load the travis environment
- ct-ng $CT_SAMPLE # Configure the build
- ct-ng_travis_build # Build the sample
# On failure displaying the last lines of the log file
after_failure:
- tail -n 1000 build.log

11
README.md

@ -153,15 +153,4 @@ Report issues at [the project site on GitHub](https://github.com/crosstool-ng/cr
We have a [mailing list](mailto:crossgcc@sourceware.org). Archive and subscription info can be found here: [https://sourceware.org/ml/crossgcc/](https://sourceware.org/ml/crossgcc/)
We are also available on IRC: irc.freenode.net #crosstool-ng.
Aloha! :-)
[![Build Status][travis-status]][travis]
[![Throughput Graph](https://graphs.waffle.io/crosstool-ng/crosstool-ng/throughput.svg)](https://waffle.io/crosstool-ng/crosstool-ng/metrics/throughput)
[![Stories in Ready](https://badge.waffle.io/crosstool-ng/crosstool-ng.png?label=ready&title=Ready)](https://waffle.io/crosstool-ng/crosstool-ng) [![Stories in Waiting For Response](https://badge.waffle.io/crosstool-ng/crosstool-ng.png?label=waiting%20for%20response&title=Waiting%20For%20Response)](https://waffle.io/crosstool-ng/crosstool-ng) [![Stories in In Progress](https://badge.waffle.io/crosstool-ng/crosstool-ng.png?label=in%20progress&title=In%20Progress)](https://waffle.io/crosstool-ng/crosstool-ng)
[travis]: https://travis-ci.org/crosstool-ng/crosstool-ng
[travis-status]: https://travis-ci.org/crosstool-ng/crosstool-ng.svg

Loading…
Cancel
Save