language: go
+go_import_path: github.com/bytom
dist: trusty
sudo: false
-go:
-- 1.8.3
-- 1.9
-- tip
+
+matrix:
+ include:
+ - go: 1.8.3
+ - go: 1.9
+ - go: tip
+ allow_failures:
+ - go: 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
+ - make ci