CI: move to Github Actions
This commit is contained in:
parent
b517d68e9e
commit
880082458a
19
.github/workflows/gradle-check.yml
vendored
Normal file
19
.github/workflows/gradle-check.yml
vendored
Normal file
@ -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
|
24
.travis.yml
24
.travis.yml
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user