summaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-06-10 19:44:05 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-06-09 13:33:24 +0900
commit470171d51f1d654d9f47af765fce135c088ea7ec (patch)
tree5ecd60720ee60c6dd600c7457cd953f62a39603f /.travis.yml
parent370f4ba1f03a52ffb6ecea2bfd56feb86b7c537f (diff)
travis: add 'go fmt' test
executed with only go 1.5. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
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: