From: Cheng Zhao Date: Thu, 2 Jul 2015 03:08:29 +0000 (+0000) Subject: Add build matrix for arm and ia32 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2de5ae999146e43a9803bc483249e5f18032e6f7;p=platform%2Fframework%2Fweb%2Fcrosswalk-tizen.git Add build matrix for arm and ia32 --- diff --git a/.travis.yml b/.travis.yml index dd6d518..af27529 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,13 +1,21 @@ +git: + depth: 10 +notifications: + email: false + language: cpp compiler: clang os: - linux - osx +env: + - TARGET_ARCH=x64 -notifications: - email: false +matrix: + include: + - os: linux + env: TARGET_ARCH=arm + - os: linux + env: TARGET_ARCH=ia32 script: './script/cibuild' - -git: - depth: 10 diff --git a/script/cibuild b/script/cibuild index 8193908..2b7149d 100755 --- a/script/cibuild +++ b/script/cibuild @@ -40,7 +40,11 @@ def main(): rm_rf(os.path.join(SOURCE_ROOT, 'vendor', 'brightray', 'vendor', 'download', 'libchromiumcontent')) - run_script('bootstrap.py', ['--dev']) + target_arch = 'x64' + if os.environ.has_key('TARGET_ARCH'): + target_arch = os.environ['TARGET_ARCH'] + + run_script('bootstrap.py', ['--dev', '--target_arch=' + target_arch]) run_script('cpplint.py') if sys.platform != 'win32':