node-babel7/pirates/.travis.yml

18 lines
428 B
YAML

language: node_js
cache:
yarn: true
node_js:
- '11'
- '10'
- '8'
- '6'
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH="$HOME/.yarn/bin:$PATH"
install: yarn --frozen-lockfile --ignore-engines
script:
- yarn test
after_success:
- bash <(curl -s https://codecov.io/bash) -f coverage/coverage-final.json
- 'if [[ "$TRAVIS_JOB_NUMBER" == *.1 ]]; then yarn semantic-release; fi'