OSDN Git Service

update dashboard.
[bytom/bytom.git] / .travis.yml
index 1206027..dd71048 100644 (file)
@@ -1,13 +1,18 @@
 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
+
+branches:
+    only:
+        - master
+        - dev
+        - politic
 
 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