summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSean Karlage <skarlage@fb.com>2018-03-06 23:36:08 -0800
committerSean Karlage <skarlage@fb.com>2018-03-07 12:41:46 -0800
commitc4ca35faae29935121ba100680dbf520125e3a7e (patch)
treed88d16d874bc728db43f437e71c5ff9d24b83b90
parent86fb7391e3b79bca597d9a4efaa22425c84aea5f (diff)
Add Travis CI configs to run tests
-rw-r--r--.travis.gofmt.sh7
-rw-r--r--.travis.govet.sh10
-rw-r--r--.travis.yml2
3 files changed, 0 insertions, 19 deletions
diff --git a/.travis.gofmt.sh b/.travis.gofmt.sh
deleted file mode 100644
index bfffdca..0000000
--- a/.travis.gofmt.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/bash
-
-if [ -n "$(gofmt -l .)" ]; then
- echo "Go code is not formatted:"
- gofmt -d .
- exit 1
-fi
diff --git a/.travis.govet.sh b/.travis.govet.sh
deleted file mode 100644
index a041a9f..0000000
--- a/.travis.govet.sh
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/bash
-
-cd "$(dirname $0)"
-DIRS=". dhcpv4 dhcpv6 iana"
-set -e
-for subdir in $DIRS; do
- pushd $subdir
- go vet
- popd
-done
diff --git a/.travis.yml b/.travis.yml
index 64490c1..bb1de30 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -9,6 +9,4 @@ go:
- tip
script:
- - ./.travis.gofmt.sh
- - ./.travis.govet.sh
- go test -v -race $(go list ./...)