GithubHelp home page GithubHelp logo

isabella232 / buildpulse-travis-ci Goto Github PK

View Code? Open in Web Editor NEW

This project forked from buildpulse/buildpulse-travis-ci

0.0 0.0 0.0 5 KB

Travis CI integration for connecting to BuildPulse for flaky test detection

Home Page: https://buildpulse.io

License: MIT License

Shell 100.00%

buildpulse-travis-ci's Introduction

Travis CI Integration for BuildPulse GitHub license

Connect your Travis CI workflows to BuildPulse to help you detect, track, and eliminate flaky tests.

Usage

  1. Locate the BuildPulse credentials for your account at buildpulse.io

  2. In your repository settings on travis-ci.com or travis-ci.org, add two environment variables:

    • 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:

    after_script:
      # Upload test results to BuildPulse for flaky test detection
      - curl -fsSL https://github.com/buildpulse/test-reporter/releases/latest/download/test-reporter-linux-amd64 > ./buildpulse-test-reporter
      - chmod +x ./buildpulse-test-reporter
      - ./buildpulse-test-reporter submit <path> --account-id <buildpulse-account-id> --repository-id <buildpulse-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 <path> with the actual path containing the XML reports for your test results

  5. Also on the last line, replace <buildpulse-account-id> and <buildpulse-repository-id> with your account ID and repository ID from buildpulse.io

buildpulse-travis-ci's People

Contributors

jasonrudolph avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.