forked from kant2002/lwip
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
51 lines (51 loc) · 3.99 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
language: node_js
dist: bionic
os: linux
matrix:
allow_failures:
- node_js: 8
- node_js: node
- node_js: lts/*
node_js:
- 10
- 12
- 14
- lts/*
- node
env:
global:
- secure: m6GYIw709a4vzQQaUn995+d5xg7OhjRl6ynSZj/ih0mZkhmXoXC0tgixyLyaqova3qMZ1JXKlRRRwW5RMIGFQkPCdlhhuQ6Ou85HCyDXqbxHi5uhLbE4MgkAcEZ2N+k5IxLZOarWT2bUasCSDSiIQnxC/UbRkqL9r3ZhDyjWzpK8j06BXyP/NfHO486K4bsd+6hb++6vyvBAzhT0rbCUayAWXpA+E8J7qAE3VaKIPTfzdDL1jA8KJojmL6GaMHA6e1/SlPlK4q2IRx6byXW7scB6/95eT6ETYKTeWtVN4LhprunHeAF+wvlmJ1wFJwY4Ku9hDXEmaES9FYDaaujb+DQDApS8y/u/uaui+hn3vDnJenL2rnGO72bV0AytB4DdsQa9pM2R6xrY8qr0kc+I/rxNtUOEG/iNgXMTOJwIftPrUl0zVvxERuMtX9CiNYNIobzJfOYWlW5MSs3T1E39qvrtIimUu2S+AN09TGO9hhL3J648xEk3bWZ6mV0F9sZal3/wuS8TzZ2ezlCwjEojDuuOBTGoOI1VRWv3+elYR8FrGt6eca1znZMCHX8lrbAA3xb0dqAQHuYZ0pwBhVikOsguNCnipdii0vU6uQKejw+uD4SbdfnZ/Uh1wABynhISWx/1wJwtICk4NabEGAt9A7GjkGT5M/f7EmQpks8l4eE=
- secure: jHM7P+q7yGbq5w83rGIgolzAp6vQwSQgy9iYTYc5+Gld+OEvFbx6meBWF4Mfe0eZO8JNH9yEdplzZ+45JnLumqX0REOtymAcc+KnXHdhfED6YWD1nN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Huyhk7qI4X/XKo4lq4HFmajSXWgbQjkVNIJD9BFLItgOODvlWLkPSGDnwFiZiVlMb4vseFyRM9yRMJFtj/TPIrT3rcNnluuED/OuOQWGKXHkJulKaUTRZruKp0wWemHo6LN5DwofoqjL/w+L8KuVeP5Pi6lHvbKzDywlFoYfMOe6in9+TPwemmTB4yZYkFc/fvk=
- secure: Dm/NC9E2k9WzXpOAuivDwaqBTRSSHl+xVKhp38yFBDNL4931MevnL+oniTPg9RfSpqbX733FWlDftbaUNZco+Bk4uID3GgoDWujgeYFHFriLaVV85dCHtDNV2sXBxglyWioR+ffK/Pmka9ZeH1xX60AtX7GMXeFKij4yaMsiTi4mx/RoH4tfjyuR+/ONfexw7981/+MUnnR71yoPUOJ48JA5h/I/f8bRqINFH47Adks4BSHvEzwma5XiFAmMGKjILoiif5iT6ebkfngi9Qv5ZM+ivKd6xt+0Mh5pvc5P6fdyRVxtmiBMKs1Vs5M96Ka9iDgd3YZo20hRNBEneW0IqzKIZGrm5YVhAUbzXYOYJTpkrtqE4X9+IVOKRYQEdq1JTFeJAYjghfexRg7WK00wR0BalAZhRR45EXt/k7QFmFRJrtthDp1svXUxCYD0SV48rx2A6Rn2BLKwSlM4e5a9FZosL4mv8TsBwq2nvBhsLg7wUIWGKJqDGy7PtV2giXbj6EDHeVrDX+eUt2pmEWWFenUmrvlimxxMzPzxZuzD3aGxj900dUZ7zdEZldnqUIYESJqDGR5mqQNc9m1taM00OXum4DT+XATSKnez3hVaVsZeldpY+cK5w1m6834SMJSUfBBKeOQUy/R/fUpC242yuyi/BdnJSQ5SZ4JnBL8JQpg=
before_script:
- npm run pretest
- |-
if [[ "$TRAVIS_OS_NAME" == "linux" ]];
then 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
fi;
script:
- npm run cover
after_script:
- |-
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
npm run coveralls;
./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT;
CODECLIMATE_API_HOST=https://codebeat.co/webhooks/code_coverage CODECLIMATE_REPO_TOKEN=0ffbe667-c1e3-4a92-ad81-a0b592801a6b npx codeclimate-test-reporter < coverage/lcov.info
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;
fi;
before_deploy:
- git config --local user.name "$TRAVIS_AUTHOR_NAME"
- git config --local user.email "$TRAVIS_AUTHOR_EMAIL"
deploy:
provider: script
script: npx semantic-release
skip_cleanup: true
on:
branch: master
node: 10
os: linux
condition: "$TRAVIS_OS_NAME = linux"
sudo: false