Merge pull request #14 from moul/dev/moul/add-travis
Setup unit tests (fix #13)
This commit is contained in:
commit
09a9873bad
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,3 +1,5 @@
|
||||
/protoc-gen-gotemplate
|
||||
|
||||
# Compiled Object files, Static and Dynamic libs (Shared Objects)
|
||||
*.o
|
||||
*.a
|
||||
|
12
.travis.yml
Normal file
12
.travis.yml
Normal file
@ -0,0 +1,12 @@
|
||||
language: go
|
||||
go: 1.7.x
|
||||
install: wget https://raw.githubusercontent.com/grpc-ecosystem/grpc-gateway/master/.travis/install-protoc.sh && chmod +x install-protoc.sh && ./install-protoc.sh 3.1.0
|
||||
script:
|
||||
- make install
|
||||
- make test
|
||||
cache:
|
||||
directories:
|
||||
- $HOME/local
|
||||
env:
|
||||
global:
|
||||
- "PATH=$PATH:$HOME/local/bin"
|
Loading…
Reference in New Issue
Block a user