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

Delta Between Two Patch Sets: .travis.yml

Issue 29498563: Issue 5133 - add CI for libadblockplus (Closed) Base URL: https://github.com/adblockplus/libadblockplus.git
Left Patch Set: add arm64 Created Aug. 9, 2017, 8:02 a.m.
Right Patch Set: use real URLs Created Sept. 26, 2017, 3:08 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 | « .appveyor/prepare-prebuilt-v8.cmd ('k') | .travis/prepare-prebuilt-v8.sh » ('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
2
3 os:
4 - linux
5 - osx
6
7 dist: trusty
1 sudo: false 8 sudo: false
2 dist: trusty
3
4 python: '2.7'
5
6 language: cpp
7 9
8 addons: 10 addons:
9 apt: 11 apt:
10 sources: 12 sources:
11 - 'ubuntu-toolchain-r-test' 13 - 'ubuntu-toolchain-r-test'
12 packages: 14 packages:
13 - g++-multilib 15 - g++-multilib
14 - binutils-gold 16 - binutils-gold
15 - libcurl4-openssl-dev 17 - libcurl4-openssl-dev
16 - g++-7 18 - g++-7
17 - p7zip-full 19 - p7zip-full
18 20
19 os: 21 python: '2.7'
20 - linux
21 22
22 env: 23 env:
23 global: 24 global:
24 - URL_PREFIX=https://github.com/xxxz/v8-binaries2/releases/download/v1/ 25 - URL_PREFIX=https://v8.eyeofiles.com/75b799aaf5f294d484021fe478cb24fa03ae02b4 /
25 matrix: 26 matrix:
26 - BUILD_ACTION=test 27 - BUILD_ACTION=test
27 - BUILD_ACTION=android_arm ANDROID_NDK_ROOT=${TRAVIS_BUILD_DIR}/third_party/an droid-ndk-r12b 28 - BUILD_ACTION=android_arm ANDROID_NDK_ROOT=${TRAVIS_BUILD_DIR}/third_party/an droid-ndk-r12b
28 - BUILD_ACTION=android_x86 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
29 - BUILD_ACTION=android_arm64 ANDROID_NDK_ROOT=${TRAVIS_BUILD_DIR}/third_party/ android-ndk-r12b 30 - BUILD_ACTION=android_arm64 ANDROID_NDK_ROOT=${TRAVIS_BUILD_DIR}/third_party/ android-ndk-r12b
30 31
31 before_script: 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
32 - bash .travis/prepare-prebuilt-v8.sh 36 - bash .travis/prepare-prebuilt-v8.sh
33 - sed -i '/third_party\/v8/d' dependencies 37 - sed -i.bak '/third_party\/v8/d' dependencies
34 - ./ensure_dependencies.py 38 - ./ensure_dependencies.py
35 - if [[ -n "$ANDROID_NDK_ROOT" ]]; then wget https://dl.google.com/android/rep ository/android-ndk-r12b-linux-x86_64.zip -O third_party/android-ndk.zip ; fi 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
36 - if [[ -n "$ANDROID_NDK_ROOT" ]]; then unzip -q third_party/android-ndk.zip - d third_party/ ; fi 41 - if [[ -n "$ANDROID_NDK_ROOT" ]]; then unzip -q third_party/android-ndk.zip - d third_party/ ; fi
37 42
38 script: 43 script:
39 - CC=gcc-7 CXX=g++-7 make ${BUILD_ACTION} LIBV8_LIB_DIR=../third_party/prebuil t-v8/ LIBV8_INCLUDE_DIR=third_party/prebuilt-v8/include 44 - make ${BUILD_ACTION} LIBV8_LIB_DIR=../third_party/prebuilt-v8/ LIBV8_INCLUDE _DIR=third_party/prebuilt-v8/include
40 45
41 notifications: 46 notifications:
42 email: false 47 email: false
LEFTRIGHT

Powered by Google App Engine
This is Rietveld