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

Side by Side Diff: .travis.yml

Issue 29817566: Noissue - Use clang++ and libc++ on Linux (Closed) Base URL: https://hg.adblockplus.org/libadblockplus/
Patch Set: Added note about libc++ Created June 28, 2018, 2:11 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | Makefile » ('j') | README.md » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 compiler: clang
11
10 addons: 12 addons:
11 apt: 13 apt:
12 sources: 14 sources:
13 - 'ubuntu-toolchain-r-test' 15 - 'ubuntu-toolchain-r-test'
16 - llvm-toolchain-trusty-4.0
14 packages: 17 packages:
15 - binutils-gold 18 - binutils-gold
16 - libcurl4-openssl-dev 19 - libcurl4-openssl-dev
17 - g++-7 20 - g++-7
18 - p7zip-full 21 - p7zip-full
22 - clang-4.0
19 23
20 python: '2.7' 24 python: '2.7'
21 25
22 env: 26 env:
23 global: 27 global:
24 - URL_PREFIX=https://v8.eyeofiles.com/v8-4fc9a2fe7f8a7ef1e7966185b39b3b5417926 69a/ 28 - URL_PREFIX=https://v8.eyeofiles.com/v8-4fc9a2fe7f8a7ef1e7966185b39b3b5417926 69a/
25 - ANDROID_NDK_ROOT=${TRAVIS_BUILD_DIR}/third_party/android-ndk-r16b 29 - ANDROID_NDK_ROOT=${TRAVIS_BUILD_DIR}/third_party/android-ndk-r16b
26 matrix: 30 matrix:
27 - BUILD_ACTION=test 31 - BUILD_ACTION=test
28 - BUILD_ACTION=all TARGET_OS=android Configuration=release ABP_TARGET_ARCH=arm 32 - BUILD_ACTION=all TARGET_OS=android Configuration=release ABP_TARGET_ARCH=arm
29 - BUILD_ACTION=all TARGET_OS=android Configuration=release ABP_TARGET_ARCH=arm 64 33 - BUILD_ACTION=all TARGET_OS=android Configuration=release ABP_TARGET_ARCH=arm 64
30 - BUILD_ACTION=all TARGET_OS=android Configuration=release ABP_TARGET_ARCH=ia3 2 34 - BUILD_ACTION=all TARGET_OS=android Configuration=release ABP_TARGET_ARCH=ia3 2
31 35
32 before_script: 36 before_script:
33 - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi 37 - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
34 - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install p7zip; fi 38 - 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 39 - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export CXX=g++-7 CC=gcc-7; fi
36 - make get-prebuilt-v8 40 - make get-prebuilt-v8
37 - ./ensure_dependencies.py 41 - ./ensure_dependencies.py
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 42 - 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
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 43 - 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
40 - if [[ "${TARGET_OS}" == "android" ]]; then unzip -q third_party/android-ndk. zip -d third_party/ ; fi 44 - if [[ "${TARGET_OS}" == "android" ]]; then unzip -q third_party/android-ndk. zip -d third_party/ ; fi
41 45
42 script: 46 script:
43 - make ${BUILD_ACTION} 47 - make ${BUILD_ACTION}
44 48
45 notifications: 49 notifications:
46 email: false 50 email: false
OLDNEW
« no previous file with comments | « no previous file | Makefile » ('j') | README.md » ('J')

Powered by Google App Engine
This is Rietveld