From 880082458a5e31f26595774212b6c03b1cf4c88e Mon Sep 17 00:00:00 2001 From: imkiva Date: Sat, 8 May 2021 00:18:40 +0800 Subject: [PATCH] CI: move to Github Actions --- .github/workflows/gradle-check.yml | 19 +++++++++++++++++++ .travis.yml | 24 ------------------------ 2 files changed, 19 insertions(+), 24 deletions(-) create mode 100644 .github/workflows/gradle-check.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/gradle-check.yml b/.github/workflows/gradle-check.yml new file mode 100644 index 0000000..60335c4 --- /dev/null +++ b/.github/workflows/gradle-check.yml @@ -0,0 +1,19 @@ +name: Gralde check + +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Clone repository + uses: actions/checkout@v2 + - name: Build + run: | + ./gradlew :app:assembleDebug diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index bd1f4c9..0000000 --- a/.travis.yml +++ /dev/null @@ -1,24 +0,0 @@ -sudo: true -dist: trusty -language: android -jdk: oraclejdk8 - -android: - components: - - platform-tools - - tools - - build-tools-25.0.2 - - android-25 - - extra-android-m2repository - -before_install: - - echo "y" | sdkmanager "cmake;3.6.4111459" - - git clone https://github.com/urho3d/android-ndk.git $HOME/android-ndk - - export ANDROID_NDK_HOME=$HOME/android-ndk - -script: - - ./gradlew :app:assembleDebug - -after_success: - - bash <(curl -s https://codecov.io/bash) -