Add Travis CI

This commit is contained in:
Felix Ableitner 2016-10-09 17:34:35 +09:00
parent a4a50d0341
commit de846891fc
2 changed files with 34 additions and 0 deletions

32
.travis.yml Normal file
View file

@ -0,0 +1,32 @@
language: android
jdk: oraclejdk8
# Install Android SDK
android:
components:
- tools
- platform-tools
- build-tools-24.0.2
- android-24
- extra-android-m2repository
# Cache gradle dependencies
# https://docs.travis-ci.com/user/languages/android/#Caching
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
env:
- GRADLE_OPTS=-Xmx2048m
script:
# Lint fails because travis doesn't have platform-tools 24
# https://github.com/travis-ci/travis-ci/issues/6699
#- ./gradlew lint
- ./gradlew core:test
- ./gradlew server:release
- ./gradlew integration:assemble
- ./gradlew android:assembleRelRelease || ./gradlew android:assembleRelRelease

View file

@ -1,6 +1,8 @@
Ensichat Ensichat
======== ========
[![Build Status](https://travis-ci.org/Nutomic/ensichat.svg?branch=master)](https://travis-ci.org/Nutomic/ensichat)
Instant messenger for Android that is fully decentralized, and uses strong end-to-end Instant messenger for Android that is fully decentralized, and uses strong end-to-end
encryption. Messages are sent directly between devices via Bluetooth or Internet, without any encryption. Messages are sent directly between devices via Bluetooth or Internet, without any
central server. Relay nodes are used to ensure message delivery, even if the target node is central server. Relay nodes are used to ensure message delivery, even if the target node is