File tree Expand file tree Collapse file tree 3 files changed +36
-2002
lines changed
Expand file tree Collapse file tree 3 files changed +36
-2002
lines changed Original file line number Diff line number Diff line change @@ -25,8 +25,9 @@ matrix:
2525 - node -v
2626 env :
2727 - LDFLAGS="${LDFLAGS} -L$(brew --prefix zlib)/lib -L$(brew --prefix readline)/lib -L$(brew --prefix openssl)/lib"
28- - CPPFLAGS="${CPPFLAGS} -I$(brew --prefix zlib)/include -I$(brew --prefix readline)/include -I$(brew --prefix openssl)/include -I$(xcrun --show-sdk-path)/include"
28+ - CPPFLAGS="${CPPFLAGS} -I$(brew --prefix zlib)/include -I$(brew --prefix readline)/include -I$(brew --prefix openssl)/include -I$(xcrun --show-sdk-path)/include -I${JAVA_HOME}/include/darwin/ "
2929 - PKG_CONFIG_PATH="${PKG_CONFIG_PATH} $(brew --prefix zlib)/lib/pkgconfig"
30+ - DYLD_INSERT_LIBRARIES=${JAVA_HOME}/lib/server/libjvm.dylib
3031 - name : " Ubuntu Focal with OpenJDK 11 (LTS)"
3132 dist : focal
3233 jdk : openjdk11
@@ -43,7 +44,7 @@ script:
4344after_success :
4445 - if [ $TRAVIS_OS_NAME == 'linux' ]; then ./node_modules/.bin/codecov; fi
4546install :
46- - yarn install
47+ - yarn install --verbose --force
4748# - bash ./scripts/khaiii_install.sh
4849# - bash ./scripts/utagger_install.sh
4950env :
Original file line number Diff line number Diff line change 11jest . setTimeout ( 5000000 ) ;
2+ import { platform } from 'process' ;
23import { initialize } from '../src/Util' ;
34import dictest from './dictionary' ;
45import typetest from './type' ;
@@ -35,5 +36,7 @@ typetest();
3536exttest ( ) ;
3637proctest ( ) ;
3738datatest ( ) ;
38- // khaiiitest();
39- // utaggertest();
39+
40+ const platformType = platform ( )
41+ if ( platformType === 'linux' || platformType === 'darwin' ) khaiiitest ( ) ;
42+ if ( platformType === 'win32' ) utaggertest ( ) ;
You can’t perform that action at this time.
0 commit comments