You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
495 B
21 lines
495 B
sudo: false
|
|
language: node_js
|
|
cache:
|
|
directories:
|
|
- ~/.npm
|
|
notifications:
|
|
email: false
|
|
node_js:
|
|
- '8'
|
|
- '10'
|
|
- '12'
|
|
install:
|
|
- npm install
|
|
# as requested by the React team :)
|
|
# https://reactjs.org/blog/2019/10/22/react-release-channels.html#using-the-next-channel-for-integration-testing
|
|
- if [ "$TRAVIS_EVENT_TYPE" = "cron" ]; then npm install react@next react-dom@next; fi
|
|
script: npm run validate
|
|
after_success: kcd-scripts travis-after-success
|
|
branches:
|
|
only: master
|