Permalink
Browse files

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.
  • Loading branch information...
1 parent 880e140 commit c557fcd8daa9fa9eb5f95fc9d0f7bde7731afcd1 @yukawa yukawa committed Oct 10, 2015
Showing with 2 additions and 0 deletions.
  1. +2 −0 .travis.yml
View
@@ -84,10 +84,12 @@ script:
- if [ $TARGET_PLATFORM == Android ]; then python build_mozc.py build -c Release package; fi
- if [ $TARGET_PLATFORM == Linux ]; then python build_mozc.py gyp --target_platform=Linux; fi
- if [ $TARGET_PLATFORM == Linux ]; then python build_mozc.py build -c Release package; fi
+ - if [ $TARGET_PLATFORM == Linux ]; then python build_mozc.py runtests -c Release; fi
- if [ $TARGET_PLATFORM == NaCl ]; then python build_mozc.py gyp --target_platform=NaCl --nacl_sdk_root=`pwd`/third_party/nacl_sdk/pepper_40; fi
- if [ $TARGET_PLATFORM == NaCl ]; then python build_mozc.py build -c Release package; fi
- if [ $TARGET_PLATFORM == Mac ]; then GYP_DEFINES="mac_sdk=10.9 mac_deployment_target=10.8" python build_mozc.py gyp --noqt; fi
- if [ $TARGET_PLATFORM == Mac ]; then python build_mozc.py build -c Release mac/mac.gyp:GoogleJapaneseInput mac/mac.gyp:gen_launchd_confs; fi
+ - if [ $TARGET_PLATFORM == Mac ]; then python build_mozc.py runtests -c Release; fi
matrix:
exclude:

0 comments on commit c557fcd

Please sign in to comment.