github.com/whyrusleeping/gx@v0.14.3/appveyor.yml (about)

     1  # Notes:
     2  #   - Minimal appveyor.yml file is an empty file. All sections are optional.
     3  #   - Indent each level of configuration with 2 spaces. Do not use tabs!
     4  #   - All section names are case-sensitive.
     5  #   - Section names should be unique on each level.
     6  
     7  version: "{build}"
     8  
     9  os: Windows Server 2012 R2
    10  
    11  clone_folder: c:\go\src\github.com\whyrusleeping\gx
    12  
    13  environment:
    14    GOPATH: c:\gopath
    15    TEST_VERBOSE: 1
    16    #TEST_NO_FUSE: 1
    17    #TEST_SUITE: test_sharness_expensive
    18    #GOFLAGS: -tags nofuse
    19    global:
    20      BASH: C:\cygwin\bin\bash
    21    matrix:
    22    - GOARCH: amd64
    23      GOVERSION: 1.5.1
    24      GOROOT: c:\go
    25      DOWNLOADPLATFORM: "x64"
    26  
    27  install:
    28    # Enable make
    29    #- SET PATH=c:\MinGW\bin;%PATH%
    30    #- copy c:\MinGW\bin\mingw32-make.exe c:\MinGW\bin\make.exe
    31    - go version
    32    - go env
    33  
    34  # Cygwin build script
    35  #
    36  # NOTES:
    37  #
    38  # The stdin/stdout file descriptor appears not to be valid for the Appveyor
    39  # build which causes failures as certain functions attempt to redirect
    40  # default file handles. Ensure a dummy file descriptor is opened with 'exec'.
    41  #
    42  build_script:
    43    - '%BASH% -lc "cd $APPVEYOR_BUILD_FOLDER; exec 0</dev/null; export PATH=$GOPATH/bin:$PATH; go get .; make install"'
    44  
    45  test_script:
    46    - '%BASH% -lc "cd $APPVEYOR_BUILD_FOLDER; exec 0</dev/null; export PATH=$GOPATH/bin:$PATH; make test"'
    47  
    48  #build:
    49  #  parallel: true