diff options
author | Alexey Neyman <stilor@att.net> | 2018-11-24 06:20:43 (GMT) |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2018-11-24 06:20:43 (GMT) |
commit | 9eb15242b4263814760a8fb95db25e1263b022fd (patch) | |
tree | 2252cc349d0542c2024276af777780a0407fc3b2 /.travis.sh | |
parent | 26d5c3604d7d6d588f06cd3a93483f1f4345cc8e (diff) |
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>
Diffstat (limited to '.travis.sh')
-rw-r--r-- | .travis.sh | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/.travis.sh b/.travis.sh deleted file mode 100644 index 097ce3c..0000000 --- a/.travis.sh +++ /dev/null @@ -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 -} |