forked from ukamnya/microdata_mirror
		
	Updated github workflows
This commit is contained in:
		
							parent
							
								
									52a051450d
								
							
						
					
					
						commit
						6eca7f6e5c
					
				
							
								
								
									
										20
									
								
								.travis.yml
									
									
									
									
									
								
							
							
						
						
									
										20
									
								
								.travis.yml
									
									
									
									
									
								
							@ -1,20 +0,0 @@
 | 
				
			|||||||
language: go
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
go:
 | 
					 | 
				
			||||||
  - "1.14.x"
 | 
					 | 
				
			||||||
  - "1.15.x"
 | 
					 | 
				
			||||||
  - tip
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
matrix:
 | 
					 | 
				
			||||||
  allow_failures:
 | 
					 | 
				
			||||||
    - go: tip
 | 
					 | 
				
			||||||
  fast_finish: true
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
before_script:
 | 
					 | 
				
			||||||
  - GO_FILES=$(find . -iname '*.go' | grep -v /vendor/)
 | 
					 | 
				
			||||||
  - PKGS=$(go list ./... | grep -v /vendor/)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
script:
 | 
					 | 
				
			||||||
  - test -z $(gofmt -s -l $GO_FILES)
 | 
					 | 
				
			||||||
  - go test -v -race $PKGS
 | 
					 | 
				
			||||||
  - go vet $PKGS
 | 
					 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user