Skip to content

Commit

Permalink
Fix Travis build
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaned1as committed May 5, 2020
1 parent 8cfdc82 commit bfd397f
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 19 deletions.
31 changes: 13 additions & 18 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
language: android
dist: trusty

jdk:
- oraclejdk8
Expand All @@ -9,34 +10,28 @@ addons:

env:
global:
- ADB_INSTALL_TIMEOUT=8
- ANDROID_COMPILE_SDK=29
- ANDROID_BUILD_TOOLS=29.0.3
- GOOGLE_PUBLISH_JSON=app/misc/android-publisher-account.json

android:
components:
- tools
- platform-tools
- tools
- build-tools-28.0.3
- android-28
- extra-google-m2repository
- extra-android-m2repository

licenses:
- android-sdk-license-.+
- android-sdk-preview-license-.+

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/.gradle/caches/"
- "$HOME/.gradle/wrapper/"
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- $HOME/.android/build-cache

before_install:
- sudo apt-get install -y gnupg2
- gpg --batch --decrypt --output ${GOOGLE_PUBLISH_JSON} --passphrase ${GOOGLE_ACCOUNT_DECRYPTION_KEY} ${GOOGLE_PUBLISH_JSON}.gpg
- yes | sdkmanager "platforms;android-${ANDROID_COMPILE_SDK}"
- yes | sdkmanager "platform-tools"
- yes | sdkmanager "build-tools;${ANDROID_BUILD_TOOLS}"
- yes | sdkmanager "extras;android;m2repository"
- yes | sdkmanager "extras;google;m2repository"

script:
- "./gradlew --info assembleRelease"
Expand Down
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
[![Travis (.org)](https://img.shields.io/travis/vanilla-music/vanilla-music-cover-fetch)](https://travis-ci.org/github/vanilla-music/vanilla-music-cover-fetch)
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/vanilla-music/vanilla-music-cover-fetch)](https://github.com/vanilla-music/vanilla-music-cover-fetch/releases)
[![F-Droid](https://img.shields.io/f-droid/v/com.kanedias.vanilla.coverfetch)](https://f-droid.org/en/packages/com.kanedias.vanilla.coverfetch/)
[![License GPLv3+](https://img.shields.io/badge/License-GPLv3-brightgreen.svg)](https://www.gnu.org/licenses/gpl-3.0.html)




# Vanilla Music Player Cover Fetch Plugin

This repository hosts the Cover Fetch plugin for Vanilla Music.
Expand Down Expand Up @@ -30,7 +38,7 @@ Note that this plugin requires an internet connection to actually be useful.

# License

Copyright (C) 2016-present Oleg Chernovskiy
Copyright (C) 2016-2020 Oleg `Kanedias` Chernovskiy

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down

0 comments on commit bfd397f

Please sign in to comment.