Add Travis CI
This commit is contained in:
parent
a4a50d0341
commit
de846891fc
2 changed files with 34 additions and 0 deletions
32
.travis.yml
Normal file
32
.travis.yml
Normal 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
|
|
@ -1,6 +1,8 @@
|
|||
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
|
||||
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
|
||||
|
|
Reference in a new issue