Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Delta Between Two Patch Sets: .travis.yml

Issue 29537638: Issue 6226 - Use mesonbuild as a build system (Closed) Base URL: https://hg.adblockplus.org/libadblockplus/
Left Patch Set: Cross compiling for Android on macOS works. Created April 3, 2018, 2:53 p.m.
Right Patch Set: Support NDK r16b Created April 25, 2018, 10:01 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « .hgignore ('k') | README.md » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
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 15 - g++-multilib
16 - binutils-gold 16 - binutils-gold
17 - libcurl4-openssl-dev 17 - libcurl4-openssl-dev
18 - g++-7 18 - g++-7
19 - p7zip-full 19 - p7zip-full
20 - meson 20 - meson
21 21
22 python: '2.7' 22 python: '2.7'
23 23
24 env: 24 env:
25 global: 25 global:
26 - URL_PREFIX=https://v8.eyeofiles.com/v8-9a4991959e231351e52266b631cbd36f8341b dc3/ 26 - URL_PREFIX=https://v8.eyeofiles.com/v8-3cdaf01c4043e19965efc5ef48df5314960b8 98f/
27 matrix: 27 matrix:
28 - BUILD_ACTION=test 28 - BUILD_ACTION=test
29 - BUILD_ACTION=android_arm ANDROID_NDK_ROOT=${TRAVIS_BUILD_DIR}/third_party/an droid-ndk-r12b 29 - BUILD_ACTION=android_arm ANDROID_NDK_ROOT=${TRAVIS_BUILD_DIR}/third_party/an droid-ndk-r16b
30 - BUILD_ACTION=android_x86 ANDROID_NDK_ROOT=${TRAVIS_BUILD_DIR}/third_party/an droid-ndk-r12b 30 - BUILD_ACTION=android_x86 ANDROID_NDK_ROOT=${TRAVIS_BUILD_DIR}/third_party/an droid-ndk-r16b
31 - BUILD_ACTION=android_arm64 ANDROID_NDK_ROOT=${TRAVIS_BUILD_DIR}/third_party/ android-ndk-r12b 31 - BUILD_ACTION=android_arm64 ANDROID_NDK_ROOT=${TRAVIS_BUILD_DIR}/third_party/ android-ndk-r16b
32 32
33 before_script: 33 before_script:
34 - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi 34 - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
35 - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install meson p7zip; fi 35 - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install meson p7zip; fi
36 - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export CXX=g++-7 CC=gcc-7; fi 36 - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export CXX=g++-7 CC=gcc-7; fi
37 - bash .travis/prepare-prebuilt-v8.sh 37 - bash .travis/prepare-prebuilt-v8.sh
38 - sed -i.bak '/third_party\/v8/d' dependencies 38 - sed -i.bak '/third_party\/v8/d' dependencies
39 - ./ensure_dependencies.py 39 - ./ensure_dependencies.py
40 - 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" == "linux" ]]; then wget h ttps://dl.google.com/android/repository/android-ndk-r16b-linux-x86_64.zip -O thi rd_party/android-ndk.zip ; fi
41 - 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" && "$TRAVIS_OS_NAME" == "osx" ]]; then wget htt ps://dl.google.com/android/repository/android-ndk-r16b-darwin-x86_64.zip -O thir d_party/android-ndk.zip ; fi
42 - if [[ -n "$ANDROID_NDK_ROOT" ]]; then unzip -q third_party/android-ndk.zip - d third_party/ ; fi 42 - if [[ -n "$ANDROID_NDK_ROOT" ]]; then unzip -q third_party/android-ndk.zip - d third_party/ ; fi
43 43
44 script: 44 script:
45 - travis_wait 30 make ${BUILD_ACTION} LIBV8_LIB_DIR=../third_party/prebuilt-v8 / LIBV8_INCLUDE_DIR=third_party/prebuilt-v8/include 45 - travis_wait 30 make ${BUILD_ACTION} LIBV8_LIB_DIR=../third_party/prebuilt-v8 / LIBV8_INCLUDE_DIR=third_party/prebuilt-v8/include
46 46
47 notifications: 47 notifications:
48 email: false 48 email: false
LEFTRIGHT

Powered by Google App Engine
This is Rietveld