mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-05-30 02:21:06 +00:00
29 lines
772 B
YAML
29 lines
772 B
YAML
language: node_js
|
|
node_js:
|
|
- "10"
|
|
env:
|
|
global:
|
|
- CC_TEST_REPORTER_ID=8317dd42c8674d0f3094dda84c022abced4d0bf632b53406afd239ec4b039db2
|
|
- GH_PAGES_SRC="build-docs"
|
|
cache:
|
|
yarn: true
|
|
directories:
|
|
- node_modules
|
|
before_install:
|
|
- curl -o- -L https://yarnpkg.com/install.sh | bash
|
|
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
|
- chmod +x ./cc-test-reporter
|
|
- export PATH=$HOME/.yarn/bin:$PATH
|
|
before_script:
|
|
- ./cc-test-reporter before-build
|
|
script:
|
|
- yarn polkadot-dev-travis-build
|
|
after_script:
|
|
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
|
|
deploy:
|
|
skip_cleanup: true
|
|
provider: script
|
|
script: yarn polkadot-dev-travis-deploy
|
|
on:
|
|
branch: master
|