From 9d2736cc98a223ee423250417766135c7a43a569 Mon Sep 17 00:00:00 2001 From: Srinivasan Sekar Date: Tue, 27 Aug 2019 21:56:01 +0530 Subject: [PATCH 1/2] Try Github Actions --- .github/workflows/gradle.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/gradle.yml diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml new file mode 100644 index 000000000..04241b76f --- /dev/null +++ b/.github/workflows/gradle.yml @@ -0,0 +1,17 @@ +name: Appium Java Client CI + +on: [push, pull_request] + +jobs: + build: + + runs-on: macOS-latest + + steps: + - uses: actions/checkout@v1 + - name: Set up JDK 1.8 + uses: actions/setup-java@v1 + with: + java-version: 1.8 + - name: Build with Gradle + run: ./gradlew clean build -x signMavenJavaPublication -x test -x checkstyleTest From 8d2562c1d621bf9064dad56df573097a7f03d836 Mon Sep 17 00:00:00 2001 From: Srinivasan Sekar Date: Tue, 27 Aug 2019 22:17:07 +0530 Subject: [PATCH 2/2] Remove travis --- .travis.yml | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 062d09d79..000000000 --- a/.travis.yml +++ /dev/null @@ -1,28 +0,0 @@ -sudo: required - -matrix: - include: - - language: android - install: - - echo y | android update sdk -u -a -t tools - - echo y | android update sdk -u -a -t platform-tools - - echo y | android update sdk -u -a -t build-tools-25.0.2 - - echo y | android update sdk -u -a -t android-25 - - echo y | android update sdk -u -a -t extra-google-m2repository - - echo y | android update sdk -u -a -t extra-android-m2repository - os: linux - jdk: oraclejdk8 - android: - components: - - extra-android-support - - sys-img-armeabi-v7a-android-24 - script: - - ./gradlew clean build -x signMavenJavaPublication -x test -x checkstyleTest - -before_cache: - - 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/