Setup unit tests (fix #13)
This commit is contained in:
		
							
								
								
									
										2
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @@ -1,3 +1,5 @@ | |||||||
|  | /protoc-gen-gotemplate | ||||||
|  |  | ||||||
| # Compiled Object files, Static and Dynamic libs (Shared Objects) | # Compiled Object files, Static and Dynamic libs (Shared Objects) | ||||||
| *.o | *.o | ||||||
| *.a | *.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" | ||||||
		Reference in New Issue
	
	Block a user