From 78eca3e2bbd955c974cde6698b18f1bb6c30145d Mon Sep 17 00:00:00 2001 From: SriMethan Date: Thu, 24 Feb 2022 15:00:53 +0530 Subject: [PATCH] Update travis-ci badge (#2033) --- .travis.yml | 35 ----------------------------------- README.md | 3 ++- 2 files changed, 2 insertions(+), 36 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index e3350da547..0000000000 --- a/.travis.yml +++ /dev/null @@ -1,35 +0,0 @@ -language: android -jdk: oraclejdk8 -android: - components: - - tools - - platform-tools - - build-tools-27.0.2 - - android-27 - - extra-google-google_play_services - - extra-google-m2repository - - extra-android-m2repository -sudo: false -before_install: - - nvm install 14.17 - - echo y | sdkmanager "ndk-bundle" -install: - - npm install - # mandatory web build first (otherwise npx cap update will fail) - - npm run build - - npx cap update android -before_script: - - export ANDROID_NDK_HOME=$ANDROID_HOME/ndk-bundle -script: - - npm run lint - - npm run test - - cd android && ./gradlew assembleWithoutNNUEDebug -before_cache: - - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock - - rm -fr $HOME/.gradle/caches/*/plugin-resolution/ -cache: - directories: - - $HOME/.npm - - $HOME/.gradle/caches/ - - $HOME/.gradle/wrapper/ - - $HOME/.android/build-cache diff --git a/README.md b/README.md index 79ede89bdf..953d0cfbc6 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,8 @@ [lichess.org/mobile](http://lichess.org/mobile) -------------------- -[![Build Status](https://travis-ci.org/lichess-org/lichobile.svg?branch=master)](https://travis-ci.org/veloce/lichobile) +[![Android build](https://github.com/lichess-org/lichobile/actions/workflows/android.yml/badge.svg)](https://github.com/lichess-org/lichobile/actions/workflows/android.yml) +[![Lint and unit tests](https://github.com/lichess-org/lichobile/actions/workflows/checks.yml/badge.svg)](https://github.com/lichess-org/lichobile/actions/workflows/checks.yml) ![GitHub contributors](https://img.shields.io/github/contributors/veloce/lichobile?cacheSeconds=600) ![GitHub All Releases](https://img.shields.io/github/downloads/veloce/lichobile/total?cacheSeconds=600) ![GitHub](https://img.shields.io/badge/license-GPL--3.0-orange)