Skip to content

Commit

Permalink
Enable unittest for Linux and OSX on Travis-CI.
Browse files Browse the repository at this point in the history
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
yukawa committed Oct 10, 2015
1 parent 880e140 commit c557fcd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Expand Up @@ -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:
Expand Down

0 comments on commit c557fcd

Please sign in to comment.