Merge pull request #2432 from zhaojuntao/ci-0312

[ci] rm auto test stage
This commit is contained in:
Bernard Xiong 2019-03-12 18:10:07 +08:00 committed by GitHub
commit 84aa8d34f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 17 deletions

View File

@ -111,20 +111,3 @@ env:
stage: compile
script:
- scons -C bsp/$RTT_BSP
jobs:
include:
- stage: AutoTest
env: none
script:
- echo "AutoTest"
- if [ "$TRAVIS_EVENT_TYPE" == "pull_request" ]; then
echo "PR mode";
curl --request POST
--header "PRIVATE-TOKEN:${GITLAB_ACCESS_TOKEN}"
--header "Content-Type:application/json"
--data '{"ref":"master","tag":"windows","variables":[{"key":"REPOSITORY_URL","value":"'${REPOSITORY_URL}'"},{"key":"GITHUB_EVENT_TYPE","value":"'${TRAVIS_EVENT_TYPE}'"},{"key":"GITHUB_JOB_ID","value":"'${TRAVIS_BUILD_NUMBER}'"},{"key":"GITHUB_PR_NUMBER","value":"'${TRAVIS_PULL_REQUEST}'"},{"key":"GITHUB_DEFAULT_BRANCH","value":"'${TRAVIS_BRANCH}'"},{"key":"GITHUB_HEAD_SHA","value":"'${TRAVIS_PULL_REQUEST_SHA}'"}]}'
"${GITLAB_REPOSITORY_API}";
else
echo "not PR mode";
fi