From 7d3e992b3f349277b7e3aa51bd46f2f53efd1172 Mon Sep 17 00:00:00 2001 From: Christian Schabesberger Date: Tue, 1 Dec 2015 21:31:10 +0100 Subject: [PATCH] init CI --- .travis.yml | 20 ++++++++++++++++++++ README.md | 1 + app/build.gradle | 7 +++++++ 3 files changed, 28 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..5cb27d7ed --- /dev/null +++ b/.travis.yml @@ -0,0 +1,20 @@ +language: android + components: + # Uncomment the lines below if you want to + # use the latest revision of Android SDK Tools + # - platform-tools + # - tools + + # The BuildTools version used by NewPipe + - build-tools-23.0.1 + + # The SDK version used to compile NewPipe + - android-23 + + # Additional components + - extra-android-support + + + # Emulators + - sys-img-x86-android-23 + - sys-img-x86-android-15 diff --git a/README.md b/README.md index b4b8a2c78..c11b1bce5 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ NewPipe: A free lightweight Youtube frontend for Android. Project status: [![Translation Status](https://hosted.weblate.org/widgets/NewPipe/-/svg-badge.svg)](https://hosted.weblate.org/engage/NewPipe/) +[![Build Status](https://travis-ci.org/theScrabi/NewPipe.svg)](https://travis-ci.org/theScrabi/NewPiped) ## Get NewPipe diff --git a/app/build.gradle b/app/build.gradle index e14fcbf16..324224856 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -17,6 +17,13 @@ android { proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } + + lintOptions { + checkReleaseBuilds false + // Or, if you prefer, you can continue to check for errors in release builds, + // but continue the build even when errors are found: + abortOnError false + } } dependencies {