OLD | NEW |
(Empty) | |
| 1 language: cpp |
| 2 |
| 3 os: |
| 4 - linux |
| 5 - osx |
| 6 |
| 7 dist: trusty |
| 8 sudo: false |
| 9 |
| 10 addons: |
| 11 apt: |
| 12 sources: |
| 13 - 'ubuntu-toolchain-r-test' |
| 14 packages: |
| 15 - g++-multilib |
| 16 - binutils-gold |
| 17 - libcurl4-openssl-dev |
| 18 - g++-7 |
| 19 - p7zip-full |
| 20 |
| 21 python: '2.7' |
| 22 |
| 23 env: |
| 24 global: |
| 25 - URL_PREFIX=https://github.com/xxxz/v8-binaries2/releases/download/v2/ |
| 26 matrix: |
| 27 - BUILD_ACTION=test |
| 28 - BUILD_ACTION=android_arm ANDROID_NDK_ROOT=${TRAVIS_BUILD_DIR}/third_party/an
droid-ndk-r12b |
| 29 - BUILD_ACTION=android_x86 ANDROID_NDK_ROOT=${TRAVIS_BUILD_DIR}/third_party/an
droid-ndk-r12b |
| 30 - BUILD_ACTION=android_arm64 ANDROID_NDK_ROOT=${TRAVIS_BUILD_DIR}/third_party/
android-ndk-r12b |
| 31 |
| 32 before_script: |
| 33 - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi |
| 34 - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install p7zip; fi |
| 35 - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export CXX=g++-7 CC=gcc-7; fi |
| 36 - bash .travis/prepare-prebuilt-v8.sh |
| 37 - sed -i.bak '/third_party\/v8/d' dependencies |
| 38 - ./ensure_dependencies.py |
| 39 - if [[ -n "$ANDROID_NDK_ROOT" && "$TRAVIS_OS_NAME" == "linux" ]]; then wget h
ttps://dl.google.com/android/repository/android-ndk-r12b-linux-x86_64.zip -O thi
rd_party/android-ndk.zip ; fi |
| 40 - if [[ -n "$ANDROID_NDK_ROOT" && "$TRAVIS_OS_NAME" == "osx" ]]; then wget htt
ps://dl.google.com/android/repository/android-ndk-r12b-darwin-x86_64.zip -O thir
d_party/android-ndk.zip ; fi |
| 41 - if [[ -n "$ANDROID_NDK_ROOT" ]]; then unzip -q third_party/android-ndk.zip -
d third_party/ ; fi |
| 42 |
| 43 script: |
| 44 - make ${BUILD_ACTION} LIBV8_LIB_DIR=../third_party/prebuilt-v8/ LIBV8_INCLUDE
_DIR=third_party/prebuilt-v8/include |
| 45 |
| 46 notifications: |
| 47 email: false |
OLD | NEW |