24 lines
		
	
	
		
			354 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			354 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
box: golang
 | 
						|
 | 
						|
build:
 | 
						|
  steps:
 | 
						|
    - setup-go-workspace
 | 
						|
 | 
						|
    # Gets the dependencies
 | 
						|
    - script:
 | 
						|
        name: go get
 | 
						|
        code: |
 | 
						|
          go get
 | 
						|
 | 
						|
    # Build the project
 | 
						|
    - script:
 | 
						|
        name: go build
 | 
						|
        code: |
 | 
						|
          go build ./...
 | 
						|
 | 
						|
    # Test the project
 | 
						|
    - script:
 | 
						|
        name: go test
 | 
						|
        code: |
 | 
						|
          go test ./...
 |