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

Unified Diff: .travis.yml

Issue 29498563: Issue 5133 - add CI for libadblockplus (Closed) Base URL: https://github.com/adblockplus/libadblockplus.git
Patch Set: Created July 26, 2017, 12:31 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: .travis.yml
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000000000000000000000000000000000000..abd50aa48d1d812a895fbff42055a0e89fb99499
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,40 @@
+sudo: false
+dist: trusty
+
+python: '2.7'
+
+language: cpp
+
+addons:
+ apt:
+ sources:
+ - 'ubuntu-toolchain-r-test'
+ packages:
+ - g++-multilib
+ - binutils-gold
+ - libcurl4-openssl-dev
+ - g++-7
+ - p7zip-full
+
+os:
+- linux
+
+env:
+ global:
+ - URL_PREFIX=https://github.com/xxxz/v8-binaries2/releases/download/v1/
sergei 2017/07/26 12:52:51 This URL will be changed, see similar comment for
+ matrix:
+ - BUILD_ACTION=test
+ - BUILD_ACTION=android_arm ANDROID_NDK_ROOT=${TRAVIS_BUILD_DIR}/third_party/android-ndk-r12b
+ - BUILD_ACTION=android_x86 ANDROID_NDK_ROOT=${TRAVIS_BUILD_DIR}/third_party/android-ndk-r12b
+
+before_script:
+ - bash .travis/prepare-prebuilt-v8.sh
+ - ./ensure_dependencies.py
+ - if [[ -n "$ANDROID_NDK_ROOT" ]]; then wget https://dl.google.com/android/repository/android-ndk-r12b-linux-x86_64.zip -O third_party/android-ndk.zip ; fi
+ - if [[ -n "$ANDROID_NDK_ROOT" ]]; then unzip -q third_party/android-ndk.zip -d third_party/ ; fi
+
+script:
+ - CC=gcc-7 CXX=g++-7 make ${BUILD_ACTION} LIBV8_LIB_DIR=../third_party/prebuilt-v8/ LIBV8_INCLUDE_DIR=third_party/prebuilt-v8/include
+
+notifications:
+ email: false

Powered by Google App Engine
This is Rietveld