]> Sergey Matveev's repositories - go-opus.git/commitdiff
Travis: Check gofmt of all files
authorHraban Luyat <hraban@0brg.net>
Fri, 30 Mar 2018 18:09:17 +0000 (19:09 +0100)
committerHraban Luyat <hraban@0brg.net>
Fri, 30 Mar 2018 18:13:29 +0000 (19:13 +0100)
.travis.yml

index ab9317e5915599086fd1f4c9b08c2c1d46285440..cab70a7e37c80cf07d401f8b604a91776191fb23 100644 (file)
@@ -6,5 +6,9 @@ dist: trusty
 sudo: required
 
 before_install:
-- sudo apt-get update
-- sudo apt-get install pkg-config libopus-dev libopusfile-dev
+  - sudo apt-get update
+  - sudo apt-get install pkg-config libopus-dev libopusfile-dev moreutils
+
+script:
+  - gofmt -l . | tee /dev/stderr | ifne false
+  - go test -v ./...