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 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
- yarn
- npm ci
- yarn
#
Install dependencies- npm
- yarn
- npm ci
- yarn
#
Run ESlint- npm
- yarn
- npm run lint
- yarn lint
#
Testing#
Run tests- npm
- yarn
- npm run test
- yarn test
#
Run Cypress E2E Testing- npm
- yarn
- npm run cypress:test
- yarn cypress:test
#
WebdriverIO E2E Testing- npm
- yarn
- npm run webdriver:run
- yarn webdriver:run