gopy/appveyor.yml

43 lines
1.1 KiB
YAML
Raw Normal View History

image: Previous Visual Studio 2019
build: off
clone_folder: c:\gopath\src\github.com\go-python\gopy
cache:
2019-01-16 14:22:48 +00:00
- '%LocalAppData%\\go-build'
- '%LocalAppData%\\pip'
branches:
only:
- master
environment:
GOPATH: C:\gopath
GOROOT: C:\go115
GOPY_APPVEYOR_CI: '1'
2019-01-16 15:52:19 +00:00
GOTRACEBACK: 'crash'
2019-08-23 08:25:14 +00:00
#CPYTHON2DIR: "C:\\Python27-x64"
CPYTHON3DIR: "C:\\Python37-x64"
2019-08-23 08:25:14 +00:00
#PATH: '%GOPATH%\bin;%CPYTHON2DIR%;%CPYTHON2DIR%\\Scripts;%CPYTHON3DIR%;%CPYTHON3DIR%\\Scripts;C:\msys64\mingw64\bin;C:\msys64\usr\bin\;%PATH%'
PATH: '%GOPATH%\bin;%GOROOT%\bin;%CPYTHON3DIR%;%CPYTHON3DIR%\\Scripts;C:\msys64\mingw64\bin;C:\msys64\usr\bin\;%PATH%'
stack: go 1.15
build_script:
- python --version
2019-08-23 08:25:14 +00:00
#- "%CPYTHON2DIR%\\python --version"
- "%CPYTHON3DIR%\\python --version"
2019-08-23 08:25:14 +00:00
#- "%CPYTHON2DIR%\\python -m pip install --upgrade pip"
- "%CPYTHON3DIR%\\python -m pip install --upgrade pip"
2019-08-23 08:25:14 +00:00
#- "%CPYTHON2DIR%\\python -m pip install cffi"
- "%CPYTHON3DIR%\\python -m pip install cffi"
2019-08-23 08:25:14 +00:00
#- "%CPYTHON2DIR%\\python -m pip install pybindgen"
- "%CPYTHON3DIR%\\python -m pip install pybindgen"
- go version
- go env
2019-01-11 11:00:12 +00:00
- go get -v -t ./...
test_script:
2019-01-11 11:00:12 +00:00
- go test ./...