Merge pull request #15 from matthewpi/travis-fix
Remove dep and use go modules in .travis.yml
This commit is contained in:
		
						commit
						f0e37f1e98
					
				
							
								
								
									
										13
									
								
								.travis.yml
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								.travis.yml
									
									
									
									
									
								
							| 
						 | 
				
			
			@ -1,23 +1,24 @@
 | 
			
		|||
os: linux
 | 
			
		||||
dist: xenial
 | 
			
		||||
language: go
 | 
			
		||||
 | 
			
		||||
go:
 | 
			
		||||
- 1.9.x
 | 
			
		||||
- 1.11.x
 | 
			
		||||
- 1.13.x
 | 
			
		||||
 | 
			
		||||
go_import_path: "github.com/pterodactyl/wings"
 | 
			
		||||
 | 
			
		||||
services:
 | 
			
		||||
  - docker
 | 
			
		||||
- docker
 | 
			
		||||
 | 
			
		||||
install:
 | 
			
		||||
- mkdir -p $GOPATH/bin
 | 
			
		||||
 | 
			
		||||
# Install used tools
 | 
			
		||||
- go get github.com/golang/dep/cmd/dep
 | 
			
		||||
- go get github.com/mitchellh/gox
 | 
			
		||||
- go get github.com/haya14busa/goverage
 | 
			
		||||
- go get github.com/schrej/godacov
 | 
			
		||||
 | 
			
		||||
# Install project dependencies with dep
 | 
			
		||||
- dep ensure
 | 
			
		||||
 | 
			
		||||
script:
 | 
			
		||||
- make cross-build
 | 
			
		||||
- goverage -v -coverprofile=coverage.out ./...
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user