Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding kokoro config for windows (#1339)
* Adding kokoro config for php72 test on windows * Get the right job name * Stop using HOME because it's different when running the test * Change directory before running the test * Add windows configs for php versions * Run self-update on composer
- Loading branch information
Takashi Matsuo
committed
Oct 12, 2018
1 parent
3b8eaba
commit 7f9d770
Showing
7 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Format: //devtools/kokoro/config/proto/build.proto | ||
|
||
build_file: "google-cloud-php/.kokoro/presubmit/windows/test.bat" | ||
|
||
action { | ||
define_artifacts { | ||
regex: "**/*sponge_log.xml" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Format: //devtools/kokoro/config/proto/build.proto | ||
|
||
# Intentionally empty |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Format: //devtools/kokoro/config/proto/build.proto | ||
|
||
# Intentionally empty |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Format: //devtools/kokoro/config/proto/build.proto | ||
|
||
# Intentionally empty |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Format: //devtools/kokoro/config/proto/build.proto | ||
|
||
# Intentionally empty |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Format: //devtools/kokoro/config/proto/build.proto | ||
|
||
# Intentionally empty |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
SET SHORT_JOB_NAME=%KOKORO_JOB_NAME:~-5% | ||
|
||
RENAME C:\Users\kbuilder\software\%SHORT_JOB_NAME% php | ||
|
||
CD github/google-cloud-php | ||
MKDIR %SHORT_JOB_NAME%\unit | ||
CALL php C:\Users\kbuilder\bin\composer self-update | ||
CALL php C:\Users\kbuilder\bin\composer update | ||
CALL vendor/bin/phpunit --log-junit %SHORT_JOB_NAME%\unit\sponge_log.xml | ||
|
||
RENAME C:\Users\kbuilder\software\php %SHORT_JOB_NAME% |