1dist: bionic
2language: go
3go:
4  - "1.13.x"
5env:
6  - GO111MODULE=on
7
8install:
9  - make build
10
11stages:
12  - name: Build & test
13    if: type != cron
14
15  - name: Fuzzit-Regression
16    if: type != cron AND type != pull_request AND branch = master
17
18  - name: Fuzzit-Fuzzing
19    if: type != cron AND type != pull_request AND branch = master
20
21jobs:
22  include:
23    - stage: Build & test
24      script:
25        - make test
26        # Coveralls is down for maintenance currently
27        - go get github.com/mattn/goveralls
28        - bash scripts/cover.sh
29
30    # TODO: Fix this
31    # - stage: Fuzzit-Regression
32    #   go: 1.12.x
33    #   script:
34    #     - bash scripts/fuzzit.sh regression
35    #
36    # - stage: Fuzzit-Fuzzing
37    #   go: 1.12.x
38    #   script:
39    #     - bash scripts/fuzzit.sh fuzzing
40