Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/buildpulse/buildpulse-travis-ci
Travis CI integration for connecting to BuildPulse for flaky test detection
https://github.com/buildpulse/buildpulse-travis-ci
flake-detection travis-ci
Last synced: 28 days ago
JSON representation
Travis CI integration for connecting to BuildPulse for flaky test detection
- Host: GitHub
- URL: https://github.com/buildpulse/buildpulse-travis-ci
- Owner: buildpulse
- License: mit
- Created: 2020-07-07T13:24:51.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-03-08T14:50:36.000Z (11 months ago)
- Last Synced: 2024-11-07T06:41:32.790Z (3 months ago)
- Topics: flake-detection, travis-ci
- Homepage: https://buildpulse.io
- Size: 13.7 KB
- Stars: 1
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Travis CI Integration for BuildPulse [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/buildpulse/buildpulse-travis-ci/main/LICENSE)
Connect your [Travis CI](https://travis-ci.com) workflows to [BuildPulse][buildpulse.io] to help you find and [fix flaky tests](https://buildpulse.io/products/flaky-tests).
## Usage
1. Locate the BuildPulse credentials for your account at [buildpulse.io][]
2. In your repository settings on [travis-ci.com](https://travis-ci.com) or [travis-ci.org](https://travis-ci.org), add two [environment variables](https://docs.travis-ci.com/user/environment-variables#defining-variables-in-repository-settings):
- One named `BUILDPULSE_ACCESS_KEY_ID` with the value set to the `BUILDPULSE_ACCESS_KEY_ID` for your account
- One named `BUILDPULSE_SECRET_ACCESS_KEY` with the value set to the `BUILDPULSE_SECRET_ACCESS_KEY` for your account
3. Add the following `after_script` clause to your `.travis.yml`:```yaml
after_script:
# Upload test results to BuildPulse for flaky test detection
- curl -fsSL --retry 3 https://get.buildpulse.io/test-reporter-linux-amd64 > ./buildpulse-test-reporter
- chmod +x ./buildpulse-test-reporter
- ./buildpulse-test-reporter submit --account-id --repository-id
```If you already have an `after_script` clause in your `.travis.yml` file, append the steps above to your existing `after_script` clause.
4. On the last line, replace `` with the actual path containing the XML reports for your test results
5. Also on the last line, replace `` and `` with your account ID and repository ID from [buildpulse.io][][buildpulse.io]: https://buildpulse.io