Skip to content

Commit 7e79181

Browse files
authored
Move CI to GitHub Actions (firebase#179)
1 parent 21f7bda commit 7e79181

File tree

3 files changed

+23
-31
lines changed

3 files changed

+23
-31
lines changed

.github/workflows/android.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Android CI
2+
3+
on:
4+
- pull_request
5+
- push
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: set up JDK 1.8
13+
uses: actions/setup-java@v1
14+
with:
15+
java-version: 1.8
16+
- name: Check Snippets
17+
run: python scripts/checksnippets.py
18+
- name: Build with Gradle
19+
run: ./gradlew clean ktlint build

.travis.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,7 @@ on [firebase.google.com](https://firebase.google.com/docs/).
88
We love contributions! See [CONTRIBUTING.md](./CONTRIBUTING.md) for guidelines.
99

1010

11-
[![Build Status](https://travis-ci.org/firebase/snippets-android.svg?branch=master)](https://travis-ci.org/firebase/snippets-android)
11+
[![Actions Status][gh-actions-badge]][gh-actions]
12+
13+
[gh-actions]: https://github.com/firebase/snippets-android/actions
14+
[gh-actions-badge]: https://github.com/firebase/snippets-android/workflows/Android%20CI/badge.svg

0 commit comments

Comments
 (0)