Restore make test target (#3139)
* Restore make test target * make build -> go build
This commit is contained in:
		
							parent
							
								
									58a7de2aea
								
							
						
					
					
						commit
						c082c3bce3
					
				
					 2 changed files with 10 additions and 1 deletions
				
			
		
							
								
								
									
										10
									
								
								.drone.yml
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								.drone.yml
									
									
									
									
									
								
							|  | @ -73,6 +73,16 @@ pipeline: | ||||||
|     when: |     when: | ||||||
|       event: [ push, tag, pull_request ] |       event: [ push, tag, pull_request ] | ||||||
| 
 | 
 | ||||||
|  |   build-without-gcc: | ||||||
|  |     image: webhippie/golang:edge | ||||||
|  |     pull: true | ||||||
|  |     environment: | ||||||
|  |       GOPATH: /srv/app | ||||||
|  |     commands: | ||||||
|  |       - go build # test if build succeeds without the sqlite tag | ||||||
|  |     when: | ||||||
|  |       event: [ push, tag, pull_request ] | ||||||
|  | 
 | ||||||
|   test: |   test: | ||||||
|     image: webhippie/golang:edge |     image: webhippie/golang:edge | ||||||
|     pull: true |     pull: true | ||||||
|  |  | ||||||
							
								
								
									
										1
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								Makefile
									
									
									
									
									
								
							|  | @ -131,7 +131,6 @@ fmt-check: | ||||||
| 
 | 
 | ||||||
| .PHONY: test | .PHONY: test | ||||||
| test: | test: | ||||||
| 	$(GO) build # test if go build succeed without sqlite support |  | ||||||
| 	$(GO) test -tags=sqlite $(PACKAGES) | 	$(GO) test -tags=sqlite $(PACKAGES) | ||||||
| 
 | 
 | ||||||
| .PHONY: coverage | .PHONY: coverage | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue