diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-06-10 19:44:05 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-06-09 13:33:24 +0900 |
commit | 470171d51f1d654d9f47af765fce135c088ea7ec (patch) | |
tree | 5ecd60720ee60c6dd600c7457cd953f62a39603f /.travis.yml | |
parent | 370f4ba1f03a52ffb6ecea2bfd56feb86b7c537f (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.yml | 2 |
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: |