Add CI script

Signed-off-by: Dejan Mijic <dejan@mainflux.com>
This commit is contained in:
Dejan Mijic 2017-09-23 17:08:03 +02:00
parent 75a8cdfe3f
commit 6f97c4588e
No known key found for this signature in database
GPG Key ID: 35CD2D6AB811FEFC
2 changed files with 12 additions and 2 deletions

10
.travis.yml Normal file
View File

@ -0,0 +1,10 @@
language: go
go:
- 1.8
install:
- go get github.com/Masterminds/glide
script:
- go test $(glide novendor)

View File

@ -64,8 +64,8 @@ Thank you for your interest in Mainflux and wish to contribute!
- [Twitter][twitter]
[banner]: https://github.com/mainflux/doc/blob/master/docs/img/gopherBanner.jpg
[ci-badge]: https://semaphoreci.com/api/v1/mainflux/mainflux/branches/master/badge.svg
[ci-url]: https://semaphoreci.com/mainflux/mainflux
[ci-badge]: https://travis-ci.org/mainflux/mainflux.svg?branch=master
[ci-url]: https://travis-ci.org/mainflux/mainflux
[docs]: http://mainflux.readthedocs.io
[docker]: https://www.docker.com
[forum]: https://groups.google.com/forum/#!forum/mainflux