Skip to content

Commit c557fcd

Browse files
committed
Enable unittest for Linux and OSX on Travis-CI.
With this CL, each push / PR does is going to be tested with unit tests on Travis-CI for Linux desktop and OSX build. We don't plan to set up unit tests for Android and NaCl right now because tests for them do not complete in host environment but rather require special environments to run target binaries.
1 parent 880e140 commit c557fcd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,12 @@ script:
8484
- if [ $TARGET_PLATFORM == Android ]; then python build_mozc.py build -c Release package; fi
8585
- if [ $TARGET_PLATFORM == Linux ]; then python build_mozc.py gyp --target_platform=Linux; fi
8686
- if [ $TARGET_PLATFORM == Linux ]; then python build_mozc.py build -c Release package; fi
87+
- if [ $TARGET_PLATFORM == Linux ]; then python build_mozc.py runtests -c Release; fi
8788
- if [ $TARGET_PLATFORM == NaCl ]; then python build_mozc.py gyp --target_platform=NaCl --nacl_sdk_root=`pwd`/third_party/nacl_sdk/pepper_40; fi
8889
- if [ $TARGET_PLATFORM == NaCl ]; then python build_mozc.py build -c Release package; fi
8990
- if [ $TARGET_PLATFORM == Mac ]; then GYP_DEFINES="mac_sdk=10.9 mac_deployment_target=10.8" python build_mozc.py gyp --noqt; fi
9091
- if [ $TARGET_PLATFORM == Mac ]; then python build_mozc.py build -c Release mac/mac.gyp:GoogleJapaneseInput mac/mac.gyp:gen_launchd_confs; fi
92+
- if [ $TARGET_PLATFORM == Mac ]; then python build_mozc.py runtests -c Release; fi
9193

9294
matrix:
9395
exclude:

0 commit comments

Comments
 (0)