Browse Source

add travis

Signed-off-by: 高汝彤 <rutong.grt@alibaba-inc.com>
高汝彤 8 years ago
parent
commit
68c8092258
1 changed files with 23 additions and 0 deletions
  1. 23 0
      .travis.yml

+ 23 - 0
.travis.yml

@@ -0,0 +1,23 @@
+language: go
+
+sudo: false
+
+go:
+  - 1.7.x
+  - 1.8.x
+  - 1.9.x
+
+install:
+  - go get -u github.com/Masterminds/glide
+  - glide install
+
+notifications:
+  email:
+    on_success: change
+    on_failure: always
+
+script:
+  - go vet ./sdk
+  - go vet ./services/...
+  - go build ./sdk
+  - go build ./services/...