From c557fcd8daa9fa9eb5f95fc9d0f7bde7731afcd1 Mon Sep 17 00:00:00 2001 From: Yohei Yukawa Date: Sat, 10 Oct 2015 12:42:15 -0700 Subject: [PATCH] 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. --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 90225f566..3e1eefc72 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: