Przeglądaj źródła

chore(travis): add travis build script

Mustafa Arici 8 lat temu
rodzic
commit
707f66d9b2
1 zmienionych plików z 14 dodań i 0 usunięć
  1. 14 0
      travis.yml

+ 14 - 0
travis.yml

@@ -0,0 +1,14 @@
+language: go
+go:
+  - 1.8
+  - tip
+
+
+before_install:
+  - go get -t -v ./...
+
+script:
+  - go test -race -coverprofile=coverage.txt -covermode=atomic ./collection
+
+after_success:
+- bash <(curl -s https://codecov.io/bash)