Skip to content
This repository was archived by the owner on Oct 3, 2024. It is now read-only.

Commit 1fece2a

Browse files
Enable Travis CI
1 parent 38b6aa8 commit 1fece2a

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

.travis.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
language: android
2+
3+
jdk:
4+
- oraclejdk8
5+
6+
before_cache:
7+
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
8+
9+
cache:
10+
directories:
11+
- $HOME/.gradle/caches/
12+
- $HOME/.gradle/wrapper/
13+
14+
android:
15+
components:
16+
- tools
17+
- build-tools-24.0.2
18+
- android-24
19+
- platform-tools
20+
- extra-android-m2repository
21+
22+
script:
23+
./gradlew build

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# EasyPermissions
1+
# EasyPermissions [![Build Status][1]][2]
22

33
EasyPermissions is a wrapper library to simplify basic system permissions logic when targeting
44
Android M or higher.
@@ -142,3 +142,6 @@ public void onActivityResult(int requestCode, int resultCode, Intent data) {
142142
}
143143
}
144144
```
145+
146+
[1]: https://travis-ci.org/googlesamples/easypermissions.svg?branch=master
147+
[2]: https://travis-ci.org/googlesamples/easypermissions

0 commit comments

Comments
 (0)