Updating .travis.yml.

This commit is contained in:
James Chen 2013-05-21 12:51:56 +08:00
parent f86430aff4
commit 1797735cb1
1 changed files with 18 additions and 13 deletions

View File

@ -1,17 +1,22 @@
language: cpp ---
script:
- export NACL_SDK_ROOT=$HOME/bin/nacl_sdk/pepper_canary
- export PATH=$PATH:$NACL_SDK_ROOT/toolchain/linux_x86_newlib/bin
- export NDK_ROOT=$HOME/bin/android-ndk
- ./tools/travis-scripts/run-script.sh
before_install: before_install:
- ./tools/travis-scripts/before-install.sh - ./tools/travis-scripts/before-install.sh
language: cpp
branches:
only:
- master
env: env:
matrix: matrix:
# - GEN_JSB=YES
- PLATFORM=linux DEBUG=1 - PLATFORM=linux DEBUG=1
- PLATFORM=nacl DEBUG=1 - PLATFORM=nacl DEBUG=1
- PLATFORM=android - PLATFORM=android
branches: global:
only: - secure: |-
- master k0/cMqJQFgZH7ZbgKuezSGaSiYEGRbW4T6ySuoKd55nW3hpZ3QWu4gyAV3pG
dni2kIlsihATigf5ShrQS4GxVZEnpPOFwAG7nhbAF1RTTIalQHjQQwlj3SHb
aXgyOZaLcPq2OxnpHivmgyC2v4A6WVeUd5fsKAU+jpoeTzNhTVs=
script:
- export NACL_SDK_ROOT=$HOME/bin/nacl_sdk/pepper_canary
- export PATH=$PATH:$NACL_SDK_ROOT/toolchain/linux_x86_newlib/bin
- export NDK_ROOT=$HOME/bin/android-ndk
- ./tools/travis-scripts/run-script.sh