Skip to content

Commit 4260b14

Browse files
committed
Improving Travis CI config & updating README.md
1 parent 5ce6530 commit 4260b14

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

.travis.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,18 @@ cache:
1717
- $HOME/.gradle/caches/
1818
- $HOME/.gradle/wrapper/
1919

20-
script: ./gradlew test
20+
before_install:
21+
- chmod +x gradlew
22+
23+
script:
24+
- ./gradlew test
25+
26+
before_deploy:
27+
- ./gradlew install
2128

2229
deploy:
2330
provider: script
24-
script:
25-
- ./gradlew install
26-
- ./gradlew bintrayUpload
31+
script: ./gradlew bintrayUpload
2732
skip_cleanup: true
2833
on:
2934
tags: true

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# AndroidSensors [ ![Download](https://api.bintray.com/packages/ubikgs/AndroidSensors/android-sensors/images/download.svg) ](https://bintray.com/ubikgs/AndroidSensors/android-sensors/_latestVersion) [![Build Status](https://travis-ci.org/ubikgs/AndroidSensors.svg?branch=master)](https://travis-ci.org/ubikgs/AndroidSensors)
1+
# AndroidSensors [![Build Status](https://travis-ci.org/ubikgs/AndroidSensors.svg?branch=master)](https://travis-ci.org/ubikgs/AndroidSensors) [ ![Download](https://api.bintray.com/packages/ubikgs/AndroidSensors/android-sensors/images/download.svg) ](https://bintray.com/ubikgs/AndroidSensors/android-sensors/_latestVersion)
22

33
A collection of classes that facilitates the access to Android devices' sensors
44

0 commit comments

Comments
 (0)