OSDN Git Service

update dashboard.
[bytom/bytom.git] / .travis.yml
index e2ba279..dd71048 100644 (file)
@@ -1,19 +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 https://github.com/Bytom/bytom.git $GOPATH/src/github.com/bytom
-    - cd $GOPATH/src/github.com/bytom
-    - make install
-    - make test
+    - make ci