forked from SAP/ui5-webcomponents-react
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
36 lines (32 loc) · 876 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
language: node_js
dist: trusty
git:
depth: false
node_js:
- '12'
cache: yarn
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH="$HOME/.yarn/bin:$PATH"
jobs:
allow_failures:
- script: ./scripts/ci/setup-npm.sh
- script: ./scripts/ci/release-npm-next-tag.sh
include:
- stage: 'Test'
script:
- yarn test
- cat ${TRAVIS_BUILD_DIR}/coverage/lcov.info | ${TRAVIS_BUILD_DIR}/node_modules/.bin/coveralls
- stage: 'Build and Deploy'
before_script:
- git checkout ${TRAVIS_BRANCH}
- bash ./scripts/ci/version-bump-rc.sh
script: yarn build
before_deploy:
- bash ./scripts/ci/setup-npm.sh
deploy:
- provider: script
script: bash ./scripts/ci/release-npm-next-tag.sh
skip_cleanup: true
on:
branch: master