Skip to content
Permalink
Browse files

Enable continuous build for OS X with Travis-CI.

Note that Linux build is still disabled as Ubuntu 14.04 is not
available in Travis-CI yet.
  • Loading branch information...
yukawa committed May 3, 2015
1 parent a51ccee commit 7e20f88b830bfdb4f446167151b3c09b1fc36d3b
Showing with 69 additions and 1 deletion.
  1. +56 −0 .travis.yml
  2. +13 −1 README.md
@@ -0,0 +1,56 @@
# Copyright 2010-2015, Google Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following disclaimer
# in the documentation and/or other materials provided with the
# distribution.
# * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

os:
- osx

language: objective-c

install:
- git submodule add https://github.com/open-source-parsers/jsoncpp.git src/third_party/jsoncpp
- git -C src/third_party/jsoncpp checkout 11086dd6a7eba04289944367ca82cea71299ed70
- git submodule add https://chromium.googlesource.com/external/gmock src/third_party/gmock
- git -C src/third_party/gmock checkout 29763965ab52f24565299976b936d1265cb6a271
- git submodule add https://chromium.googlesource.com/external/gtest src/third_party/gtest
- git -C src/third_party/gtest checkout 8245545b6dc9c4703e6496d1efd19e975ad2b038
- git submodule add https://chromium.googlesource.com/external/gyp src/third_party/gyp
- git -C src/third_party/gyp checkout cdf037c1edc0ba3b5d25f8e3973661efe00980cc
- git submodule add https://github.com/google/protobuf.git src/third_party/protobuf
- git -C src/third_party/protobuf checkout 172019c40bf548908ab09bfd276074c929d48415
- git submodule add https://github.com/hiroyuki-komatsu/japanese-usage-dictionary.git src/third_party/japanese_usage_dictionary
- git -C src/third_party/japanese_usage_dictionary checkout e5b3425575734c323e1d947009dd74709437b684
- git submodule add https://github.com/googlei18n/fonttools.git src/third_party/fontTools
- git -C src/third_party/fontTools checkout 5ba7d98a4153fad57258fca23b0bcb238717aec3
- git submodule add https://chromium.googlesource.com/chromium/tools/depot_tools.git src/third_party/depot_tools
- export PATH="$PATH":`pwd`/src/third_party/depot_tools

script:
- cd ./src
- GYP_DEFINES="mac_sdk=10.9 mac_deployment_target=10.8" python build_mozc.py gyp --noqt
- python build_mozc.py build -c Release mac/mac.gyp:GoogleJapaneseInput mac/mac.gyp:gen_launchd_confs
@@ -8,6 +8,16 @@ Android OS, Apple OS X, Chromium OS, GNU/Linux and Microsoft Windows. This
open-source project originates from
[Google Japanese Input](http://www.google.com/intl/ja/ime/).

Build Status
------------

| |Android |Windows |OS X |Linux |NaCl |
|---------|:------:|:------:|:---:|:----:|:---:|
|**Build**|N/A | N/A |[![Build Status](https://travis-ci.org/google/mozc.svg?branch=travis-initial-setup)](https://travis-ci.org/google/mozc) |N/A |N/A |


What's Mozc?
------------
For historical reasons, the project name *Mozc* has two different meanings:

1. Internal code name of Google Japanese Input that is still commonly used
@@ -17,7 +27,9 @@ For historical reasons, the project name *Mozc* has two different meanings:

In this repository, *Mozc* means the second definition unless otherwise noted.

#License
License
-------

All Mozc code written by Google is released under
[The BSD 3-Clause License](http://opensource.org/licenses/BSD-3-Clause).
For thrid party code under [src/third_party](src/third_party) directory,

0 comments on commit 7e20f88

Please sign in to comment.
You can’t perform that action at this time.