forked from bitcoin-wallet/bitcoin-wallet
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.travis.yml
41 lines (32 loc) · 1.47 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
language: java
jdk: oraclejdk7
env:
matrix:
- ANDROID_SDKS=android-8 ANDROID_TARGET=android-8 ANDROID_ABI=armeabi
- ANDROID_SDKS=android-10 ANDROID_TARGET=android-10 ANDROID_ABI=armeabi
- ANDROID_SDKS=sysimg-16 ANDROID_TARGET=android-16 ANDROID_ABI=armeabi-v7a
- ANDROID_SDKS=android-17,sysimg-17 ANDROID_TARGET=android-17 ANDROID_ABI=armeabi-v7a
before_install:
# Install base Android SDK
- sudo apt-get update -qq
- if [ `uname -m` = x86_64 ]; then sudo apt-get install -qq --force-yes libgd2-xpm ia32-libs ia32-libs-multiarch; fi
- wget http://dl.google.com/android/android-sdk_r21.0.1-linux.tgz
- tar xzf android-sdk_r21.0.1-linux.tgz
- export ANDROID_HOME=$PWD/android-sdk-linux
- export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools
# Install required Android components.
- android update sdk --filter platform-tools,android-16,extra-android-support,$ANDROID_SDKS --no-ui --force
# DigitalCoinJ
- git clone https://github.com/Crypto-Expert/digitalcoinj
- cd digitalcoinj
- mvn clean package -Dmaven.test.skip=true
script:
- mvn clean install -Dandroid.device=test -Pintegration-tests
notifications:
irc:
channels:
- "chat.freenode.net#digitalcoin-dev"
template:
- "%{repository}/%{branch} (%{commit} - %{author}): %{message}, Result: %{result}, Build Time: %{duration}"
- "Change view : %{compare_url}"
- "Build details : %{build_url}"