...

Text file src/github.com/joshdk/go-junit/.circleci/config.yml

Documentation: github.com/joshdk/go-junit/.circleci

     1version: 2.1
     2jobs:
     3  lint:
     4    docker:
     5      - image: circleci/golang:1.12.9
     6    working_directory: /go/src/github.com/joshdk/go-junit
     7    steps:
     8      - checkout
     9      - run:
    10          name: Lint Go code
    11          command: make lint
    12
    13  test:
    14    docker:
    15    - image: circleci/golang:1.12.9
    16    working_directory: /go/src/github.com/joshdk/go-junit
    17    steps:
    18    - checkout
    19    - run:
    20        name: Test Go code
    21        command: make test
    22    - store_test_results:
    23        path: test-results
    24
    25workflows:
    26  version: 2
    27  build:
    28    jobs:
    29    - lint
    30    - test

View as plain text