Codebase list golang-github-satta-ifplugo / 2363978
use CircleCI Sascha Steinbiss 5 years ago
1 changed file(s) with 21 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 # Golang CircleCI 2.0 configuration file
1 #
2 # Check https://circleci.com/docs/2.0/language-go/ for more details
3 version: 2
4 jobs:
5 build:
6 docker:
7 - image: circleci/golang:1.10-stretch
8
9 working_directory: /go/src/github.com/satta/ifplugo
10 steps:
11 - checkout
12 - run:
13 name: Add stretch-backports
14 command: 'echo "deb http://ftp.debian.org/debian stretch-backports main" | sudo tee -a /etc/apt/sources.list.d/backports.list'
15 - run:
16 name: Install apt dependencies
17 command: 'sudo apt-get update && sudo apt-get -t stretch-backports install libdaemon-dev -y'
18
19 - run: go get -t -v ./...
20 - run: go test -v ./...