fix bash calls

This commit is contained in:
Adrien Delorme 2018-10-16 12:57:02 +02:00
parent 37b85323fc
commit 6406f65e37
1 changed files with 4 additions and 3 deletions

View File

@ -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