OSDN Git Service

Merge pull request #56 from liuchengxu/log
[bytom/bytom.git] / .travis.yml
index 1206027..e2ba279 100644 (file)
@@ -1,13 +1,19 @@
 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