File: wercker.yml

package info (click to toggle)
golang-gopkg-dancannon-gorethink.v1 1.4.1-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 764 kB
  • sloc: makefile: 3
file content (31 lines) | stat: -rw-r--r-- 744 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
box: google/golang
# Services
services:
    - rethinkdb
# Build definition
build:
    # The steps that will be executed on build
    steps:
        - setup-go-workspace
        
        - script:
            name: set rethinkdb_url
            code: |
              export RETHINKDB_URL=$RETHINKDB_PORT_28015_TCP_ADDR

        # Gets the dependencies
        - script:
            name: get dependencies
            code: |
                go get ./...
        # Build the project
        - script:
            name: build
            code: |
                go build ./...
        # Test the project
        - script:
            name: Test
            code: |-
                go get -u gopkg.in/check.v1
                go test ./... -short