"R-package/vscode:/vscode.git/clone" did not exist on "4f77bd2860913a9a210c72a367fc88b4a9c13b3d"
Unverified Commit f44b60b6 authored by Guolin Ke's avatar Guolin Ke Committed by GitHub
Browse files

refine vsts-ci (#1653)

* Fix CI (#1652)

* Update .travis.yml

* Update .appveyor.yml

* only tags for build

* Update .vsts-ci.yml

* Update .vsts-ci.yml
parent 1d075f4d
......@@ -64,13 +64,3 @@ artifacts:
- path: python-package/dist/*
name: Pip
deploy:
release: $(APPVEYOR_REPO_TAG_NAME)
provider: GitHub
auth_token:
secure: KR44XwtxY0cLlVpQwY726BvC6gzT0cYTf0ahJ4cSvvS0UVoSJxkR900ICfVXHRoT
artifact: Library,Exe,Pip
force_update: true
draft: true
on:
appveyor_repo_tag: true
......@@ -56,17 +56,3 @@ script:
notifications:
email: false
deploy:
provider: releases
api-key:
secure: "idU9Fb/yUz7VsVOEb0vGR8qqxcvXr4eh1tMzkKiMWLRx5XNeq7RCUzfKAPMIizFkML9zdMh/5vPtZ1Zs++3oWPpbZE2/o4CURoE+BvwDUyEDrKTdNSGoWgWZq0QLjfahj/PR8ObWlU+XCHqRQzKXlwbynwwUGRpOJrlEY0To5Kt9gTV5W8MxSlW7xFU2TTmMa499IZut38OuenJ3Nm9mTe6MCHFW4Y5uGp/gwNuBYfqzwUXDi6h/cJiJJD5drwtNnSneFZ2PZplrKxJxSJdSQ2aHttU+Wr8xogi9hLI/H6OA4UYCF69HrWOLSggplkZt6qUzaG7UfYyid4m6YbeKMUQRNBuGXhYVGr5qkyAzqXiOesGAef550346pWEZNGPLfNnKAwqPgkp8Q8tV9i0srjzyttqFAlLqhA76yST3kuX+QS0VGepSUTV+kkfxCaHZagxtX9Xve5RNybu4B44UmHWIGJnS6ijYpxWKwvWnMmBCIezFbZYyqsiXYC+9d5RfBgNFQ4PlRfmY0vnJlwUhx1AnyL9jsxnthwl9CNczo4mgBqnCSXxlhXNHz6ToMQuhgdhnqm5+qqJzI5/eUugxh8CW18qZTZBkrnL4DxEMm+bQ2QT8O07ZHrEDPKPXxQw7tBsphWvECetJ4DxXfNaf59GrY+eD6TFZuxurB5Vvo6s="
file_glob: true
file: python-package/dist/*.whl
skip_cleanup: true
draft: true
tag_name: $TRAVIS_TAG
on:
condition: "$TASK = bdist"
tags: true
all_branches: true
......@@ -56,6 +56,7 @@ phases:
fi
bash .vsts-ci/test.sh
- task: PublishBuildArtifacts@1
condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/'))
inputs:
pathtoPublish: '$(Build.ArtifactStagingDirectory)'
artifactName: PackageAssets
......@@ -92,6 +93,7 @@ phases:
export LGB_VER=$(head -n 1 VERSION.txt)
bash .vsts-ci/test.sh
- task: PublishBuildArtifacts@1
condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/'))
inputs:
pathtoPublish: '$(Build.ArtifactStagingDirectory)'
artifactName: PackageAssets
......@@ -159,6 +161,7 @@ phases:
if ($LastExitCode -ne 0) { $host.SetShouldExit($LastExitCode) }
} # run all examples
- task: PublishBuildArtifacts@1
condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/'))
inputs:
pathtoPublish: '$(Build.ArtifactStagingDirectory)'
artifactName: PackageAssets
......@@ -171,6 +174,7 @@ phases:
- Linux
- MacOS
- Windows
condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/'))
queue:
name: 'Hosted VS2017'
steps:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment