Travis CI
Travis CI sends test results to BuildPulse through the BuildPulse upload API with an API token. There is no Travis-specific plugin: the upload is a shell script that runs after your tests.
If you'd like help at any step, please get in touch.
1. Create an API key.
In BuildPulse, open Organization Settings, then API Keys, and click Create API Key. The key starts with bp_ and is shown once. Add it to your repository settings on Travis CI as the BUILDPULSE_API_TOKEN environment variable, with its value hidden from the build log.
2. Copy the upload script for your repository.
In BuildPulse, open the repository and go to its Setup tab. Under "Wire BuildPulse into your CI pipeline", pick Other / any CI and your test framework. The page shows the script with your repository ID filled in. The same script, with a placeholder for the ID, is on the Other CI Providers page.
For a repository hosted on GitHub, install the BuildPulse GitHub App on it first, so that the repository exists in BuildPulse.
3. Run the script after your tests.
Save the script in your repository and run it from a phase that runs whether the tests passed or failed, such as after_script. Failing runs are where flaky tests show up. In the script's ci: block, set build_id and build_url from Travis CI's environment variables so that each run in BuildPulse links back to its build.
4. Commit those changes.
Push your branch and check the build log on Travis CI. The script ends with BuildPulse upload complete. Within a few minutes the repository's Test Runs tab in BuildPulse shows the run.
test-reporter binary?Earlier versions of this guide used the test-reporter binary with an access key ID and secret access key plus numeric account and repository IDs. New accounts are not issued access keys, so new setups should follow the steps above. If you already run the binary and have questions about moving, email support@buildpulse.io.