mirror of
https://github.com/browsermt/bergamot-translator.git
synced 2024-10-26 05:43:59 +03:00
c64deb50a8
* CircleCI config, docs and badge * Increase CircleCI RAM from 4gb to 16gb Co-authored-by: Motin <motin@motin.eu>
917 B
917 B
Continuous Integration
Circle CI is used for continuous integration. Configured via ./.circleci/config.yml
.
Run Circle CI locally (requires Docker)
- Install the CircleCI local cli
- Validate Circle CI configuration (useful exercise before pushing any changes to the configuration)
circleci config validate -c .circleci/config.yml
- To better mimic the starting point for CI, commit your changes and clone your repository into a clean directory then run CircleCI inside that directory:
git clone . /tmp/$(basename $PWD)
cd /tmp/$(basename $PWD)
circleci build
Note: Steps related to caching and uploading/storing artifacts will report as failed locally. This is not necessarily a problem, they are designed to fail since the operations are not supported locally by the CircleCI build agent.