We were not using sudo, but now the main images should be similarly fast. More at: https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration - [x] I have read [freeCodeCamp's contribution guidelines](https://github.com/freeCodeCamp/freeCodeCamp/blob/master/CONTRIBUTING.md). - [x] My pull request has a descriptive title (not a vague title like `Update index.md`) - [x] My pull request targets the `master` branch of freeCodeCamp. - [x] None of my changes are plagiarized from another source without proper attribution. - [x] My article does not contain shortened URLs or affiliate links.
30 lines
363 B
YAML
30 lines
363 B
YAML
language: node_js
|
|
|
|
node_js:
|
|
- 'lts/*'
|
|
|
|
cache:
|
|
directories:
|
|
- ~/.npm
|
|
- node_modules
|
|
|
|
notifications:
|
|
email:
|
|
on_success: change
|
|
on_failure: always
|
|
|
|
script:
|
|
- commitlint-travis
|
|
- npm run lint
|
|
- npm run test
|
|
|
|
deploy:
|
|
provider: script
|
|
skip_cleanup: true
|
|
script:
|
|
- npx semantic-release
|
|
|
|
branches:
|
|
except:
|
|
- /^v\d+\.\d+\.\d+$/
|