forked from go-python/gopy
-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
42 lines (34 loc) · 1.14 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
image: Previous Visual Studio 2019
build: off
clone_folder: c:\gopath\src\github.com\go-python\gopy
cache:
- '%LocalAppData%\\go-build'
- '%LocalAppData%\\pip'
branches:
only:
- master
environment:
GOPATH: C:\gopath
GOROOT: C:\go115
GOPY_APPVEYOR_CI: '1'
GOTRACEBACK: 'crash'
#CPYTHON2DIR: "C:\\Python27-x64"
CPYTHON3DIR: "C:\\Python37-x64"
#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
#- "%CPYTHON2DIR%\\python --version"
- "%CPYTHON3DIR%\\python --version"
#- "%CPYTHON2DIR%\\python -m pip install --upgrade pip"
- "%CPYTHON3DIR%\\python -m pip install --upgrade pip"
#- "%CPYTHON2DIR%\\python -m pip install cffi"
- "%CPYTHON3DIR%\\python -m pip install cffi"
#- "%CPYTHON2DIR%\\python -m pip install pybindgen"
- "%CPYTHON3DIR%\\python -m pip install pybindgen"
- go version
- go env
- go get -v -t ./...
test_script:
- go test ./...