ref: b6ac23be3d7909b202dd33ab190a9b12db94134b
parent: e941cafedb46bc89e5e699bc9a462d8564085b1a
author: ISSOtm <[email protected]>
date: Tue Feb 18 15:12:18 EST 2020
Remove Travis CI files Obsoleted by GitHub Actions since #486
--- a/.travis-checkpatch.sh
+++ /dev/null
@@ -1,45 +1,0 @@
-#!/bin/bash
-
-echo "Checking code style..."
-
-# Return failure as soon as a command fails to execute
-
-set -e
-
-# Download checkpatch.pl and related files
-
-echo "Getting checkpatch.pl..."
-
-mkdir checkpatchdir
-
-wget https://raw.githubusercontent.com/torvalds/linux/master/scripts/checkpatch.pl
-mv checkpatch.pl checkpatchdir/checkpatch.pl
-chmod +x checkpatchdir/checkpatch.pl
-
-touch checkpatchdir/const_structs.checkpatch
-touch checkpatchdir/spelling.txt
-
-# Run checkpatch.pl on the new commits
-
-echo "Running checkpatch.pl..."
-
-fname=$(mktemp)
-rc=0
-
-make CHECKPATCH=checkpatchdir/checkpatch.pl checkpatch > $fname
-
-cat $fname
-
-if grep "ERROR" $fname; then
- # At least one error found
- echo "Code style errors have been found!"
- rc=1
-else
- echo "No code style errors found, your patches are ready!"
-fi
-
-# Cleanup
-
-rm -rf checkpatchdir
-
-exit $rc
--- a/.travis-deps.sh
+++ /dev/null
@@ -1,13 +1,0 @@
-#!/bin/sh
-
-if [ $TRAVIS_OS_NAME = "osx" ]; then
- brew update
- brew install libpng pkg-config md5sha1sum
-else # linux
- sudo apt-get -qq update
- sudo apt-get install -y -q bison flex libpng-dev pkg-config
-fi
-
-echo "Dependencies:"
-yacc --version
-flex --version
--- a/.travis.yml
+++ /dev/null
@@ -1,19 +1,0 @@
-language: c
-sudo: required
-install:
- - ./.travis-deps.sh
- - make Q=
- - sudo make install Q=
-os:
- - linux
- - osx
-compiler:
- - clang
- - gcc
-script:
- - cd test && ./run-tests.sh
-matrix:
- include:
- - env: _="checkpatch"
- script:
- - ./.travis-checkpatch.sh