LoginSignup
0
0

More than 5 years have passed since last update.

CircleCI2.0でgolang+depのテストを回す

Posted at

とりあえず下のような設定ファイルを使ってます

version: 2
jobs:
  build:
    docker:
      - image: circleci/golang:1.9
    working_directory: /go/src/github.com/IzumiSy/yourlibrary
    steps:
      - checkout
      - run:
          name: ensure
          command: |
            if [ ! -d vendor ]; then
              if ! type dep >/dev/null 2>&1; then
                go get github.com/golang/dep/cmd/dep
              fi
              dep ensure
            fi
      - run:
          name: test
          command: go test -v
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0