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