Skip to content

Files

Latest commit

 

History

History
124 lines (97 loc) · 4.85 KB

travis-ci-with-hyperexecute.md

File metadata and controls

124 lines (97 loc) · 4.85 KB
id title hide_title sidebar_label description keywords url site_name slug
travis-ci-with-hyperexecute
Travis CI Integration
true
Travis CI
HyperExecute integrates with Travis CI Pipeline to boost your go-to market delivery. Perform automated cross browser testing with LambdaTest to ensure your development code renders seamlessly through an online Selenium grid providing 3000+ real browsers running through machines.
lambdatest integrations
lambdatest integrations with ci/cd tools
ci/cd tools
continuous integration,continuous delivery
continuous integration tools
gitlab ci
LambdaTest
travis-ci-with-hyperexecute/
<script type="application/ld+json" dangerouslySetInnerHTML={{ __html: JSON.stringify({ "@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [{ "@type": "ListItem", "position": 1, "name": "LambdaTest", "item": "https://www.lambdatest.com" },{ "@type": "ListItem", "position": 2, "name": "Support", "item": "https://www.lambdatest.com/support/docs/" },{ "@type": "ListItem", "position": 3, "name": "Travis CI Pipeline Integration", "item": "https://www.lambdatest.com/support/docs/travis-ci-with-hyperexecute/" }] }) }} ></script>

Travis CI Integration with Hyperexecute


Travis CI is a continuous integration (CI) service that allows to automate the process of testing and deploying their code. It is widely used for projects hosted on GitHub and other version control platforms like Bitbucket, and GitLab. Using Travis CI, you can automate your entire testing suite for new commits, reducing the possibility of human error, while also automating deploys with orbs.

This document will show you how to integrate Travis CI Pipeline with HyperExecute to greatly shorten your test cycles.

Steps to Integrate Travis CI Pipeline with Hyperexecute


To integrate Travis CI Pipeline with HyperExecute, follow the below steps:

Step 1. Log into your Travis CI account

  • Signup in your Travis CI account using your desired version control system. Here, we are using GitHub.

  • Click on your profile, then go to settings and then click on the green Activate button, and select the repositories you want to use with Travis CI or you can click on the Activate all repositories using GitHub Apps button to activate all your repos.

Step 2: Configure the YAML File

Once you have set up your project, you need to add a .travis.yml file to your desired repository to trigger the build from the Travis CI.

Below is a sample of Travis CI YAML created for your reference:

language: node

services:
  hyperexecute:
    api_key: YOUR_API_KEY  ## add your hyperexecute access key

before_script:
  - npm install -g cypress
  - npm install

script:
  - ./hyperexecute --user <your_username> --key <your_access_key> --config <RELATIVE_PATH_OF_YOUR_YAML_FILE_name>
  • Add the .travis.yml file to root directory, commit it and then click to "Trigger a Travis CI build".

  • Check the build status page to see if your build passes or fails according to the return status of the build command by visiting Travis CI and selecting your repository.

Step 3: Run Your Job

Now commit your job and run the build.

Below is an example of a HyperExecute job that was triggered through the above pipeline: <img loading="lazy" src={require('../assets/images/hyperexecute/integration/ci-cd/travis-ci/he-travis-ci.webp').default} alt="Create New Project" width="" height=""/>

Run your tests at speeds never seen before. Happy testing! :)