language: node_js node_js: - "10" env: global: - CC_TEST_REPORTER_ID=b8983d04997f43ff9b9df9aa92904967547680e2a229af812b3cf14985713e84 - 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::$(yarn global 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