forked from SAP/ui5-webcomponents-react
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
46 lines (40 loc) · 973 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
37
38
39
40
41
42
43
44
45
46
language: node_js
dist: trusty
git:
depth: false
node_js:
- '8.16.0'
- '10'
cache: yarn
addons:
chrome: stable
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH="$HOME/.yarn/bin:$PATH"
script:
- yarn test
- |
if [ ${TRAVIS_NODE_VERSION} = "10" ]
then
cat ${TRAVIS_BUILD_DIR}/coverage/lcov.info | ${TRAVIS_BUILD_DIR}/node_modules/.bin/coveralls
fi
jobs:
allow_failures:
- script: ./scripts/ci/setup-npm.sh
- script: ./scripts/ci/release-npm-next-tag.sh
include:
- stage: 'Build and Deploy'
node_js:
- '10'
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