OLD | NEW |
1 language: cpp | 1 language: cpp |
2 | 2 |
3 os: | 3 os: |
4 - linux | 4 - linux |
5 - osx | 5 - osx |
6 | 6 |
7 dist: trusty | 7 dist: trusty |
8 sudo: false | 8 sudo: false |
9 | 9 |
10 addons: | 10 addons: |
11 apt: | 11 apt: |
12 sources: | 12 sources: |
13 - 'ubuntu-toolchain-r-test' | 13 - 'ubuntu-toolchain-r-test' |
14 packages: | 14 packages: |
15 - g++-multilib | |
16 - binutils-gold | 15 - binutils-gold |
17 - libcurl4-openssl-dev | 16 - libcurl4-openssl-dev |
18 - g++-7 | 17 - g++-7 |
19 - p7zip-full | 18 - p7zip-full |
20 | 19 |
21 python: '2.7' | 20 python: '2.7' |
22 | 21 |
23 env: | 22 env: |
24 global: | 23 global: |
25 - URL_PREFIX=https://v8.eyeofiles.com/v8-4fc9a2fe7f8a7ef1e7966185b39b3b5417926
69a/ | 24 - URL_PREFIX=https://v8.eyeofiles.com/v8-4fc9a2fe7f8a7ef1e7966185b39b3b5417926
69a/ |
26 - ANDROID_NDK_ROOT=${TRAVIS_BUILD_DIR}/third_party/android-ndk-r16b | 25 - ANDROID_NDK_ROOT=${TRAVIS_BUILD_DIR}/third_party/android-ndk-r16b |
27 matrix: | 26 matrix: |
28 - BUILD_ACTION=test | 27 - BUILD_ACTION=test |
29 - BUILD_ACTION=all TARGET_OS=android Configuration=release TARGET_ARCH=arm | 28 - BUILD_ACTION=all TARGET_OS=android Configuration=release ABP_TARGET_ARCH=arm |
30 - BUILD_ACTION=all TARGET_OS=android Configuration=release TARGET_ARCH=arm64 | 29 - BUILD_ACTION=all TARGET_OS=android Configuration=release ABP_TARGET_ARCH=arm
64 |
31 - BUILD_ACTION=all TARGET_OS=android Configuration=release TARGET_ARCH=ia32 | 30 - BUILD_ACTION=all TARGET_OS=android Configuration=release ABP_TARGET_ARCH=ia3
2 |
32 | 31 |
33 before_script: | 32 before_script: |
34 - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi | 33 - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi |
35 - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install p7zip; fi | 34 - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install p7zip; fi |
36 - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export CXX=g++-7 CC=gcc-7; fi | 35 - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export CXX=g++-7 CC=gcc-7; fi |
37 - make get-prebuilt-v8 | 36 - make get-prebuilt-v8 |
38 - ./ensure_dependencies.py | 37 - ./ensure_dependencies.py |
39 - if [[ "${TARGET_OS}" == "android" && "$TRAVIS_OS_NAME" == "linux" ]]; then w
get https://dl.google.com/android/repository/android-ndk-r16b-linux-x86_64.zip -
O third_party/android-ndk.zip ; fi | 38 - if [[ "${TARGET_OS}" == "android" && "$TRAVIS_OS_NAME" == "linux" ]]; then w
get https://dl.google.com/android/repository/android-ndk-r16b-linux-x86_64.zip -
O third_party/android-ndk.zip ; fi |
40 - if [[ "${TARGET_OS}" == "android" && "$TRAVIS_OS_NAME" == "osx" ]]; then wge
t https://dl.google.com/android/repository/android-ndk-r16b-darwin-x86_64.zip -O
third_party/android-ndk.zip ; fi | 39 - if [[ "${TARGET_OS}" == "android" && "$TRAVIS_OS_NAME" == "osx" ]]; then wge
t https://dl.google.com/android/repository/android-ndk-r16b-darwin-x86_64.zip -O
third_party/android-ndk.zip ; fi |
41 - if [[ "${TARGET_OS}" == "android" ]]; then unzip -q third_party/android-ndk.
zip -d third_party/ ; fi | 40 - if [[ "${TARGET_OS}" == "android" ]]; then unzip -q third_party/android-ndk.
zip -d third_party/ ; fi |
42 | 41 |
43 script: | 42 script: |
44 - make ${BUILD_ACTION} | 43 - make ${BUILD_ACTION} |
45 | 44 |
46 notifications: | 45 notifications: |
47 email: false | 46 email: false |
OLD | NEW |