.travis.yml
language: node_js
node_js:
- '16'
before_install:
- npm install -g greenkeeper-lockfile
install:
- npm install
- npm run flow:fetch
- npm run build
before_script:
- greenkeeper-lockfile-update
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
after_script:
- greenkeeper-lockfile-upload
- ./cc-test-reporter format-coverage -t lcov ./coverage/lcov.info
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
script:
- npm run test:report
deploy:
provider: script
skip_cleanup: true
script:
- npm_config_yes=true npx -p @qiwi/semrel-toolkit semrel