From 470171d51f1d654d9f47af765fce135c088ea7ec Mon Sep 17 00:00:00 2001 From: FUJITA Tomonori Date: Fri, 10 Jun 2016 19:44:05 +0900 Subject: travis: add 'go fmt' test executed with only go 1.5. Signed-off-by: FUJITA Tomonori --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 71c638cd..fadc6ab0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,7 +33,7 @@ matrix: go_import_path: github.com/osrg/gobgp script: - - bash test/scenario_test/ci-scripts/travis-build-script.sh $SCENARIO + - if [[ "$TRAVIS_GO_VERSION" == "1.5" ]]; then test -z "$(go fmt ./...)"; fi && bash test/scenario_test/ci-scripts/travis-build-script.sh $SCENARIO notifications: slack: -- cgit v1.2.3