File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 1+ branches :
2+ except :
3+ - master
4+ - /v\d.+/
5+ language : node_js
6+ os :
7+ - windows
8+ - linux
9+ node_js :
10+ - 12
11+ before_install :
if [[ "$(npm -v)" != "6.9.0" ]] && [[ "${TRAVIS_OS_NAME}" != "windows" ]]; then npm install --global [email protected] ; fi 12+ install : npm ci
13+ before_script : |
14+ if [[ "${TRAVIS_OS_NAME}" != "windows" ]]; then
15+ checksum=$(md5sum package-lock.json)
16+ npm install --package-lock-only
17+ if ! echo ${checksum} | md5sum --quiet -c -; then
18+ echo "package-lock.json was modified unexpectedly. Please rebuild it using npm@$(npm -v) and commit the changes."
19+ exit 1
20+ fi
21+ fi
22+
23+ if [[ "${TRAVIS_OS_NAME}" == "windows" ]]; then
24+ git config core.symlinks true
25+ git reset --hard
26+ fi
27+ after_success : npx codecov --file=./coverage/lcov.info
You can’t perform that action at this time.
0 commit comments