Quellcode durchsuchen

*: remove build-check script

Stefan Junker vor 9 Jahren
Ursprung
Commit
d4d0ac0fff
2 geänderte Dateien mit 0 neuen und 37 gelöschten Zeilen
  1. 0 1
      .travis.yml
  2. 0 36
      build-check

+ 0 - 1
.travis.yml

@@ -16,5 +16,4 @@ install:
  - go get golang.org/x/tools/cmd/cover
 
 script:
- - ./build-check
  - ./test

+ 0 - 36
build-check

@@ -1,36 +0,0 @@
-#!/bin/bash -e
-#
-# Run all go-iptables tests
-#   ./test
-#   ./test -v
-#
-# Run tests for one package
-#   PKG=./unit ./test
-#   PKG=ssh ./test
-#
-
-# Invoke ./cover for HTML output
-COVER=${COVER:-"-cover"}
-
-source ./build
-
-FORMATTABLE="iptables"
-
-# user has not provided PKG override
-if [ -z "$PKG" ]; then
-	FMT=$FORMATTABLE
-
-# user has provided PKG override
-else
-	# strip out slashes and dots from PKG=./foo/
-	FMT=${PKG//\//}
-fi
-
-echo "Checking gofmt..."
-fmtRes=$(gofmt -l $FMT)
-if [ -n "${fmtRes}" ]; then
-	echo -e "gofmt checking failed:\n${fmtRes}"
-	exit 255
-fi
-
-echo "Success"