language: go
dist: trusty
sudo: false
+
go:
-- 1.8.3
-- 1.9
-- tip
+ - 1.8.3
+ - 1.9
+ - tip
+
+branches:
+ only:
+ - master
+ - dev
script:
-- git clone -b dev https://github.com/Bytom/bytom.git $GOPATH/src/github.com/bytom
-- cd $GOPATH/src/github.com/bytom
-- make install
-- make test
+ - git clone https://github.com/Bytom/bytom.git $GOPATH/src/github.com/bytom
+ - cd $GOPATH/src/github.com/bytom
+ - make install
+ - make test