github.com/rzurga/go-swagger@v0.28.1-0.20211109195225-5d1f453ffa3a/appveyor.yml (about)

     1  version: "0.1.{build}"
     2  
     3  clone_folder: C:\go-swagger
     4  shallow_clone: true # for startup speed
     5  pull_requests:
     6    do_not_increment_build_number: true
     7  
     8  skip_tags: true
     9  skip_branch_with_pr: true
    10  
    11  # appveyor.yml
    12  build: off
    13  
    14  image:
    15    - Visual Studio 2019
    16  
    17  environment:
    18    GO111MODULE: on
    19    GOPATH: c:\gopath
    20  
    21  matrix:
    22    fast_finish: true
    23  
    24  stack: go 1.15
    25  
    26  before_test:
    27    - go mod download
    28  
    29  test_script:
    30    # sanity test: basic build on windows works
    31    - set PATH=%GOPATH%\bin;%PATH%
    32    - go install github.com/go-swagger/go-swagger/cmd/swagger
    33    - swagger validate fixtures/bugs/2493/fixture-2492.json
    34    - swagger validate fixtures/bugs/2493/fixture-2493.json
    35    - swagger validate fixtures/bugs/2493/fixture-2492.yaml
    36    - swagger validate fixtures/bugs/2493/fixture-2493.yaml
    37    # full test suite
    38    - go test -timeout 20m ./...
    39  
    40  deploy: off
    41  
    42  notifications:
    43    - provider: Slack
    44      incoming_webhook: https://hooks.slack.com/services/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
    45      #incoming_webhook: https://hooks.slack.com/services/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
    46      channel: bots
    47      on_build_success: false
    48      on_build_failure: true
    49      on_build_status_changed: true