Skip to content

Commit fddf065

Browse files
mmimeaultflovilmart
authored andcommitted
Setup Travis CI (#5)
* Add travis yml * Fix publish and update shield * remove coveralls
1 parent da38bee commit fddf065

File tree

3 files changed

+33
-4
lines changed

3 files changed

+33
-4
lines changed

.travis.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
branches:
2+
only:
3+
- master
4+
5+
language: android
6+
sudo: false
7+
8+
android:
9+
components:
10+
- build-tools-23.0.1
11+
- android-22
12+
- doc-23
13+
- extra-android-support
14+
- extra-android-m2repository
15+
16+
before_install:
17+
- pip install --user codecov
18+
19+
script:
20+
- ./gradlew clean testDebugUnitTest jacocoTestReport --info
21+
22+
after_success:
23+
- codecov
24+
- ./scripts/publish_snapshot.sh
25+
26+
cache:
27+
directories:
28+
- $HOME/.gradle
29+
- $HOME/.m2/repository

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,10 @@ We want to make contributing to this project as easy and transparent as possible
9595

9696
[build-status-svg]: https://img.shields.io/travis/ParsePlatform/ParseLiveQuery-Android/master.svg
9797
[build-status-link]: https://travis-ci.org/ParsePlatform/ParseLiveQuery-Android/branches
98-
[coverage-status-svg]: https://coveralls.io/repos/ParsePlatform/ParseLiveQuery-Android/badge.svg?branch=master&service=github
99-
[coverage-status-link]: https://coveralls.io/github/ParsePlatform/ParseLiveQuery-Android?branch=master
98+
[coverage-status-svg]: https://img.shields.io/codecov/c/github/ParsePlatform/ParseLiveQuery-Android/master.svg
99+
[coverage-status-link]: https://codecov.io/github/ParsePlatform/ParseLiveQuery-Android?branch=master
100100
[maven-svg]: https://maven-badges.herokuapp.com/maven-central/com.parse/parse-livequery-android/badge.svg?style=flat
101101
[maven-link]: https://maven-badges.herokuapp.com/maven-central/com.parse/parse-livequery-android
102102

103103
[license-svg]: https://img.shields.io/badge/license-BSD-lightgrey.svg
104-
[license-link]: https://github.com/ParsePlatform/ParseLiveQuery-Android/blob/master/LICENSE
104+
[license-link]: https://github.com/ParsePlatform/ParseLiveQuery-Android/blob/master/LICENSE

scripts/publish_snapshot.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
# Publishes SNAPSHOTs
33

4-
REPO_SLUG=ParsePlatform/Parse-SDK-Android
4+
REPO_SLUG=ParsePlatform/ParseLiveQuery-Android
55
BRANCH=master
66

77
set -e

0 commit comments

Comments
 (0)