github.com/pvitto98/fabric@v2.1.1+incompatible/ci/azure-pipelines-merge.yml (about)

     1  # Copyright the Hyperledger Fabric contributors. All rights reserved.
     2  #
     3  # SPDX-License-Identifier: Apache-2.0
     4  
     5  name: $(SourceBranchName)-$(Date:yyyyMMdd)$(Rev:.rrr)
     6  trigger:
     7  - master
     8  - release-2.*
     9  pr: none
    10  
    11  variables:
    12    GOPATH: $(Agent.BuildDirectory)/go
    13    PATH: $(Agent.BuildDirectory)/go/bin:/usr/local/go/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin
    14    GOVER: 1.14.1
    15  
    16  jobs:
    17    - job: UnitTests
    18      pool:
    19        vmImage: ubuntu-18.04
    20      steps:
    21        - template: install_deps.yml
    22        - checkout: self
    23          path: 'go/src/github.com/hyperledger/fabric'
    24          displayName: Checkout Fabric Code
    25        - script: ./ci/scripts/setup_hsm.sh
    26          displayName: Install SoftHSM
    27        - script: make unit-test
    28          displayName: Run Unit Tests