This is the Travis CI and DeployGate for the Android. This Demo, you can use the Travis auto build and auto upload to Deploygate use API from Android easily.
For issue tracking see the GitHub issues page: https://github.com/DeployGate/gradle-deploygate-plugin/issues
- In account Travis CI of project choose Setting->Setting and add variable
- Add TOKEN_DEPLOYGATE with token from account DeployGate
- Add DEPLOYGATE wiht user from account DeployGate
- Add BUILD_DEBUG = 1 : Auto build and upload to DeployGate
- Get TOKEN
- In account DeployGate choose Account Setting -> API key (Token)
Edit file travis.sh:
- Line - ./gradlew clean
- : type build (sample assembleRelease)
- Line - curl -F "file=@app-debug.apk" -F "token=${TOKEN_DEPLOYGATE}" -F "message=Auto upload" https://deploygate.com/api/users/${DEPLOYGATE}/apps
- : path of apk file (sample apk-debug.apk)
- TOKEN_DEPLOYGATE: Token account DeployGate
- DEPLOYGATE: user account DeployGate (sample huynhvan257)
- : message upload file apk to DeployGate (sample Auto build and upload from Travis CI)
Copyright 2012-2016 Huynh Van
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ]