diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000000..49a0a8e112 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,32 @@ +--- +name: Bug report +about: Create a report to help us improve +title: "[BUG]" +labels: bug +assignees: '' + +--- + +**Describe the bug** +A clear and concise description of what the bug is. + +**To Reproduce** +Steps to reproduce the behavior: +1. Go to '...' +2. Click on '....' +3. Scroll down to '....' +4. See error + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Screenshots** +If applicable, add screenshots to help explain your problem. + +**Please complete the following information:** + - Device: [e.g. Pixel 3XL] + - Android Version: [e.g. Android 8.0.1] + - Version [e.g. 1.0.0] + +**Additional context** +Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000000..50af5c27ee --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,20 @@ +--- +name: Feature request +about: Suggest an idea for this project +title: "[Feature Request]" +labels: Feature Request +assignees: '' + +--- + +**Is your feature request related to a problem? Please describe.** +A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + +**Describe the solution you'd like** +A clear and concise description of what you want to happen. + +**Describe alternatives you've considered** +A clear and concise description of any alternative solutions or features you've considered. + +**Additional context** +Add any other context or screenshots about the feature request here. diff --git a/.travis.yml b/.travis.yml index 52572b957d..26855fd4d0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,30 +1,41 @@ -sudo: false - language: android +sudo: required jdk: oraclejdk8 +env: + global: + - ANDROID_API_LEVEL=28 + - ANDROID_BUILD_TOOLS_VERSION=28.0.3 + - ANDROID_ABI=armeabi-v7a + android: components: - - platform-tools - - tools - - build-tools-23.0.3 - - android-23 + - tools + - platform-tools + - tools + - extra-android-m2repository + licenses: + - 'android-sdk-preview-license-52d11cd2' + - 'android-sdk-license-.+' + - 'google-gdk-license-.+' before_install: -- chmod +x gradlew - -script: -- "./gradlew clean build connectedAndroidTest -PdisablePreDex --stacktrace" - -notifications: - email: true + - touch $HOME/.android/repositories.cfg + - yes | sdkmanager "platforms;android-28" + - yes | sdkmanager "build-tools;28.0.3" before_cache: -- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock + - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock + - rm -fr $HOME/.gradle/caches/*/plugin-resolution/ cache: directories: - - "$HOME/.m2" - - "$HOME/.gradle" - - "$HOME/.gradle/caches/" - - "$HOME/.gradle/wrapper/" \ No newline at end of file + - $HOME/.gradle/caches/ + - $HOME/.gradle/wrapper/ + - $HOME/.android/build-cache + +before_script: + - chmod +x gradlew + +script: + - ./gradlew clean assembleStandardDebug diff --git a/README.md b/README.md index b7ae7676e3..8666c68b6d 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ Unofficial MangaDex [![stable release](https://img.shields.io/github/release/CarlosEsco/MangaDex.svg?maxAge=3600&label=stable)](https://github.com/CarlosEsco/MangaDex/releases) +[![Build Status](https://travis-ci.org/CarlosEsco/MangaDex.svg?branch=master)](https://travis-ci.org/CarlosEsco/MangaDex) A free, open source unofficial manga reader for Mangadex and a fork of [Tachiyomi](https://github.com/inorichi/tachiyomi) @@ -10,7 +11,7 @@ Supports login to MangaDex ## License - Copyright 2019 Carlos Escobedo + Copyright 2015 Javier Tomás Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -23,6 +24,8 @@ Supports login to MangaDex WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. + + Modifications copyright (C) 2019 Carlos Escobedo ## Disclaimer diff --git a/app/build.gradle b/app/build.gradle index 0991810ca0..9442d53e90 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -116,8 +116,6 @@ dependencies { implementation 'com.android.support:multidex:1.0.3' - standardImplementation 'com.google.firebase:firebase-core:11.8.0' - // ReactiveX implementation 'io.reactivex:rxandroid:1.2.1' implementation 'io.reactivex:rxjava:1.3.6' @@ -253,7 +251,3 @@ kotlin { androidExtensions { experimental = true } - -if (getGradle().getStartParameter().getTaskRequests().toString().contains("Standard")) { - apply plugin: 'com.google.gms.google-services' -} diff --git a/app/src/test/java/eu/kanade/tachiyomi/TestApp.kt b/app/src/test/java/eu/kanade/tachiyomi/TestApp.kt index cbac3701fe..8e74f29fbb 100644 --- a/app/src/test/java/eu/kanade/tachiyomi/TestApp.kt +++ b/app/src/test/java/eu/kanade/tachiyomi/TestApp.kt @@ -1,12 +1,4 @@ package eu.kanade.tachiyomi open class TestApp : App() { - - override fun setupAcra() { - // Do nothing - } - - override fun setupJobManager() { - // Do nothing - } }