fix bash calls
This commit is contained in:
parent
37b85323fc
commit
6406f65e37
|
@ -34,18 +34,19 @@ cache:
|
||||||
|
|
||||||
clone_folder: c:\gopath\src\github.com\hashicorp\packer
|
clone_folder: c:\gopath\src\github.com\hashicorp\packer
|
||||||
|
|
||||||
|
# Install needed build dependencies
|
||||||
install:
|
install:
|
||||||
- ps: if (Test-Path Env:\CYG_ROOT) { Start-FileDownload "https://cygwin.com/$env:CYG_SETUP" -FileName "$env:CYG_SETUP" }
|
- ps: if (Test-Path Env:\CYG_ROOT) { Start-FileDownload "https://cygwin.com/$env:CYG_SETUP" -FileName "$env:CYG_SETUP" }
|
||||||
- %CYG_SETUP% --quiet-mode --no-shortcuts --only-site --root "%CYG_ROOT%" --site "%CYG_MIRROR%" --local-package-dir "%CYG_CACHE%" --packages "%CYG_PACKAGES%" --upgrade-also
|
- if defined CYG_ROOT (%CYG_SETUP% --quiet-mode --no-shortcuts --only-site --root "%CYG_ROOT%" --site "%CYG_MIRROR%" --local-package-dir "%CYG_CACHE%" --packages "%CYG_PACKAGES%" --upgrade-also)
|
||||||
- echo %Path%
|
- echo %Path%
|
||||||
- go version
|
- go version
|
||||||
- go env
|
- go env
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- git rev-parse HEAD
|
- git rev-parse HEAD
|
||||||
- make deps
|
- (%BASH% -lc "make deps")
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
- make ci
|
- (%BASH% -lc "make ci")
|
||||||
|
|
||||||
deploy: off
|
deploy: off
|
||||||
|
|
Loading…
Reference in New Issue