-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
78 lines (78 loc) · 4.97 KB
/
.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
language: node_js
notifications:
email: false
os: linux
dist: bionic
matrix:
fast_finish: true
allow_failures:
- node_js: node
- node_js: lts/*
node_js:
- 10
- 12
- 14
- lts/*
- node
before_install:
- yarn config set script-shell $(which bash)
install:
- yarn install --frozen-lockfile --ignore-engines
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64
> ./cc-test-reporter
- chmod +x ./cc-test-reporter
- "./cc-test-reporter before-build"
script:
- yarn run pretest
- yarn run cover:actual
after_script:
- yarn run cover:collect
- if [ "$PULL_REQUEST" ]; then yarn run check-run-reporter:test; fi;
- "./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT"
- CODECLIMATE_API_HOST=https://codebeat.co/webhooks/code_coverage CODECLIMATE_REPO_TOKEN=8d1d019a-0b63-49be-b5aa-2262519aaa4f
yarn codeclimate-test-reporter < coverage/lcov.info
- yarn run coveralls
- python < $(curl https://report.ci/upload.py)
- bash <(curl -s https://codecov.io/bash)
- bash <(curl -Ls https://coverage.codacy.com/get.sh) report -r coverage/lcov.info
before_deploy:
- git config --local user.name "$TRAVIS_AUTHOR_NAME"
- git config --local user.email "$TRAVIS_AUTHOR_EMAIL"
- echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
deploy:
provider: script
script: 'git checkout master; git remote set-url origin https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git;
yarn lerna publish --conventional-commits --create-release github --yes --message
"release(travis): Release $TRAVIS_COMMIT"'
skip_cleanup: true
on:
branch: master
node: 10
os: linux
sudo: false
cache:
yarn: true
npm: false
directories:
- ".yarn/cache"
- node_modules
- packages/android-icon-resize/node_modules
- packages/android-icons/node_modules
- packages/android-splash-generate/node_modules
- packages/android-splash/node_modules
- packages/asset-generator/node_modules
- packages/asset-service/node_modules
- packages/generic-icon-splash-generate/node_modules
- packages/ios-icon-resize/node_modules
- packages/ios-icons/node_modules
- packages/ios-splash-generate/node_modules
- packages/ios-splash/node_modules
env:
global:
- TRAVIS_AUTHOR_NAME=Travis
- secure: Ac/5lrXzjOgVAhgFov9gaP/7Y/E87lBke8s43qXnOHgtUM5X4QYcd+smc036vWIxPyFXxM923jylPI4gVvBLx2Dz1gEzcSQGbypoRa31opivB1etVwztku8h30izaOxGMzfa5bxx/ydwH5h+I4CIO5jXjCrtpMKseyZBEO8voRhw626pzkBo2PvgoOQfThpzItNQ0ZI5b1tqDDdQGQ18IWYNTY7MVhaTzFQUeJNJWRmWf6Fq/nwt1PuD4EpfpViirio+JVJYQE63cb35BSDOhinUSb76bFcYWMLU9M8BP6OV5xer833YtR7QkVqCII1AI/GJWubFi/JaviPwqi14RPSTnHXbvd6sagHZERfyaBmPNyLLxkVyYvg7tBqyimKUMCSs4IsGXPuVXY6E2S4JZzZWxUBPqehfv3yEkx4MefJ9KWUcXUU8qRjdT3YkJqaFTTF0Q81fUdU/e16JMYlxfwmIJm6u9gwABa1y4VrHKRQy6PbSCqDRiX4r1KafX7p/cHGlYAUvoXp29feY6J3W2G8UoXbyLhFj/v19CjKZwby19gNIU79MjIlnnOacXyNXVBlnuC/WEQIBDoQxp9nkc7V7xXnKtu+Ji65n0/IoDPCG+JM67gQTTIlGLXSJvMQ+lKJxleCUg4BkXPdGO5ox4PP2dUJG+vDGwKjTrF4+VHs=
- secure: Zo4VUh0ViTUefECXN+oRyqmGqvwpT/HGeXfe5G4pMikxoJtqAZLskQldDExWfI9m0gzuzaVEYlzHXHg9cOoFpDw4liC5UgtTNnNyufoyMKhSaeJS0R2j9D7uNU8k9jE2FgcLaBPVA+YZQrr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