Skip to content

Commit d56c480

Browse files
committed
Fix .travis.yml (bug in matrix setup) & Remove snyk
1 parent 281ca34 commit d56c480

5 files changed

Lines changed: 4 additions & 59 deletions

File tree

.snyk

Lines changed: 0 additions & 47 deletions
This file was deleted.

.travis.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,16 @@ matrix:
1010
- choco install nodejs-lts -y
1111
- choco install yarn -y
1212
- export PATH=$(cmd.exe //c "refreshenv > nul & C:\Progra~1\Git\bin\bash -c 'echo \$PATH' ")
13+
- export JAVA_HOME=$(cmd.exe //c "refreshenv > nul & C:\Progra~1\Git\bin\bash -c 'echo \$JAVA_HOME' ")
1314
- java --version
1415
- node -v
15-
env:
16-
- JAVA_HOME="/c/Progra~1/OpenJDK/jdk-16.0.1"
1716
- name: "OSX11.3 with OpenJDK 16"
1817
os: osx
1918
osx_image: xcode12.5
2019
language: shell
2120
jdk: openjdk16.0.1
2221
before_install:
2322
- eval "$(pyenv init -)"
24-
- brew install nodejs
2523
- brew install yarn
2624
- node -v
2725
env:
@@ -42,7 +40,7 @@ cache:
4240
script:
4341
- yarn run test
4442
after_success:
45-
- if [ $TRAVIS_OS_NAME == 'linux' ] then; ./node_modules/.bin/codecov; fi
43+
- if [ $TRAVIS_OS_NAME == 'linux' ]; then ./node_modules/.bin/codecov; fi
4644
install:
4745
- yarn install
4846
# - bash ./scripts/khaiii_install.sh

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
[![JS Doc](https://img.shields.io/badge/JS-Doc-blue.svg?style=flat-square)](https://koalanlp.github.io/nodejs-support/)
66

77
[![Build Status](https://img.shields.io/travis/koalanlp/nodejs-support.svg?style=flat-square&branch=master)](https://travis-ci.org/koalanlp/nodejs-koalanlp)
8-
[![Known Vulnerabilities](https://snyk.io/test/github/koalanlp/nodejs-support/badge.svg?style=flat-square)](https://snyk.io/test/github/koalanlp/nodejs-support)
98
[![codecov](https://codecov.io/gh/koalanlp/nodejs-support/branch/master/graph/badge.svg)](https://codecov.io/gh/koalanlp/nodejs-support)
109

1110
[![분석기별 품사비교표](https://img.shields.io/badge/%ED%92%88%EC%82%AC-%EB%B9%84%EA%B5%90%ED%91%9C-blue.svg?style=flat-square)](https://docs.google.com/spreadsheets/d/1OGM4JDdLk6URuegFKXg1huuKWynhg_EQnZYgTmG4h0s/edit?usp=sharing)

docs/index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ <h3> </h3>
6464
<a href="https://tldrlegal.com/license/mit-license"><img src="https://img.shields.io/badge/license-MIT-green.svg?style=flat-square" alt="MIT License"></a>
6565
<a href="https://koalanlp.github.io/nodejs-support/"><img src="https://img.shields.io/badge/JS-Doc-blue.svg?style=flat-square" alt="JS Doc"></a></p>
6666
<p><a href="https://travis-ci.org/koalanlp/nodejs-koalanlp"><img src="https://img.shields.io/travis/koalanlp/nodejs-support.svg?style=flat-square&amp;branch=master" alt="Build Status"></a>
67-
<a href="https://snyk.io/test/github/koalanlp/nodejs-support"><img src="https://snyk.io/test/github/koalanlp/nodejs-support/badge.svg?style=flat-square" alt="Known Vulnerabilities"></a>
6867
<a href="https://codecov.io/gh/koalanlp/nodejs-support"><img src="https://codecov.io/gh/koalanlp/nodejs-support/branch/master/graph/badge.svg" alt="codecov"></a></p>
6968
<p><a href="https://docs.google.com/spreadsheets/d/1OGM4JDdLk6URuegFKXg1huuKWynhg_EQnZYgTmG4h0s/edit?usp=sharing"><img src="https://img.shields.io/badge/%ED%92%88%EC%82%AC-%EB%B9%84%EA%B5%90%ED%91%9C-blue.svg?style=flat-square" alt="분석기별 품사비교표"></a>
7069
<a href="https://koalanlp.github.io/koalanlp"><img src="https://img.shields.io/badge/Java-KoalaNLP-blue.svg?style=flat-square" alt="KoalaNLP"></a>

package.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@
1616
"scripts": {
1717
"test": "jest --detectOpenHandles --forceExit",
1818
"compile": "./node_modules/.bin/babel -d ./ src/",
19-
"jsdoc": "rm -rf docs/* && ./node_modules/jsdoc/jsdoc.js -c .jsdoc.json && git add docs/*",
20-
"snyk-protect": "snyk protect",
21-
"prepublish": "if [ -z \"$TRAVIS_OS_NAME\" ]; then yarn run snyk-protect; fi"
19+
"jsdoc": "rm -rf docs/* && ./node_modules/jsdoc/jsdoc.js -c .jsdoc.json && git add docs/*"
2220
},
2321
"licenses": [
2422
{
@@ -51,7 +49,6 @@
5149
"java": "^0.12.0",
5250
"node-java-maven": "^0.1.1",
5351
"request": "^2.88.0",
54-
"snyk": "^1.316.1",
5552
"underscore": "^1.9.1"
5653
},
5754
"devDependencies": {
@@ -69,6 +66,5 @@
6966
"jsdoc": "^3.6.3",
7067
"regenerator-runtime": "^0.13.3",
7168
"should": "^13.2.3"
72-
},
73-
"snyk": true
69+
}
7470
}

0 commit comments

Comments
 (0)