2020-06-03 16:15:38 -07:00
|
|
|
# Continuous Integration
|
|
|
|
|
2022-04-07 15:11:38 -07:00
|
|
|
The project is integrated the following CI platforms:
|
|
|
|
- Bitrise
|
|
|
|
- Builds
|
|
|
|
- Deployment to Cocoapods Trunk
|
|
|
|
- Travis CI
|
|
|
|
- Builds
|
2020-06-03 16:15:38 -07:00
|
|
|
|
|
|
|
|
2022-04-07 15:11:38 -07:00
|
|
|
## When a PR is opened
|
2020-06-03 16:15:38 -07:00
|
|
|
|
2022-04-07 15:11:38 -07:00
|
|
|
- check that linting is successful (to be integrated)
|
2020-06-03 16:15:38 -07:00
|
|
|
- check that the code builds
|
|
|
|
- check that PR tests pass
|
|
|
|
|
|
|
|
|
2022-04-07 15:11:38 -07:00
|
|
|
## Manual Deployment
|
2020-06-03 16:15:38 -07:00
|
|
|
|
2022-04-07 15:11:38 -07:00
|
|
|
Prerequisites:
|
|
|
|
- Write permissions on the repo
|
|
|
|
- Push permission on CocoaPods Trunk
|
2020-06-03 16:15:38 -07:00
|
|
|
|
2022-04-07 15:11:38 -07:00
|
|
|
Steps:
|
2020-06-03 16:15:38 -07:00
|
|
|
- build the project
|
|
|
|
- run tests
|
2022-04-07 15:11:38 -07:00
|
|
|
- Create a new tag MAJOR.MIDDLE.MINOR{-betaX}
|
|
|
|
- update the ZcashLightClientKit.podspec file with the correponding version.
|
2020-06-03 16:15:38 -07:00
|
|
|
- run `pod lib lint --skip-tests --allow-warnings && pod trunk push --skip-tests --allow-warnings` to create pod version
|
|
|
|
|