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 lint - npm run testtip
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
- yarn
- npm ci- yarnInstall dependencies#
- npm
- yarn
- npm ci- yarnRun ESlint#
- npm
- yarn
- npm run lint- yarn lintTesting#
Run tests#
- npm
- yarn
- npm run test- yarn testRun Cypress E2E Testing#
- npm
- yarn
- npm run cypress:test- yarn cypress:testWebdriverIO E2E Testing#
- npm
- yarn
- npm run webdriver:run- yarn webdriver:run