Skip to main content

Travis CI

As a continuous integration platform, Travis CI supports your development process by automatically building and testing code changes, providing immediate feedback on the success of the change.
Refer to official documentation for detailed usage. →

The following YAML workflow file created into the ./travis.yml as a default by superplate, if Travis CI selected as a CI plugin.

travis.yml
language: node_jsnode_js:  - "14"install:  - npm ci  - npm run test
tip

The following commands are added to travis.yml by superplate if any of plugins listed below is selected during project creation phase.

note

You can use the following commands in case of adding Travis CI to existing project later.

Package manager#


- npm ci

Install dependencies#


- npm ci

Testing#


Run tests#

- npm run test

Run Cypress E2E Testing#

- npm run cypress:test

WebdriverIO E2E Testing#

- npm run webdriver:run
tip

We recommend using Meercode, if you are using Travis CI. Meercode is the monitoring dashboard for your CI/CD builds.