forked from rapidftr/RapidFTR-Android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
29 lines (24 loc) · 1.11 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
language: java
env:
global:
- ANDROID_HOME=~/android-sdk-linux
- secure: "eATae5kWD2tL3xtUdQjk4T5RWn4zv5OS4QXjwL9q/E4ntzge3rVPRGVSyS5/\nL/d48QLlliDzC6d7ycFVyEZC0OLzpHNER56vhP4YY9yfLygHr+NQJizPEiMJ\nPj5vUu9+qfOb3icQuQYDamuOCT7CxnVXSxVApfpFSSGz1YFpwfs="
before_install:
- export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
- wget http://dl.google.com/android/android-sdk_r20.0.3-linux.tgz
- tar xfz android-sdk_r20.0.3-linux.tgz -C ~
- android update sdk --filter platform-tools,android-8,extra-android-support --no-ui --force
- echo no | android create avd -n android2.2 -t android-8 --skin QVGA
- mv $ANDROID_HOME/tools/emulator $ANDROID_HOME/tools/emulator-old
- ln -s $ANDROID_HOME/tools/emulator-arm $ANDROID_HOME/tools/emulator
install: echo
script: "mvn clean install -P ci"
after_script:
- mvn pl.project13.maven:git-commit-id-plugin:revision ghDownloads:upload -P ci --projects RapidFTR-Android --fail-never
notifications:
email: false
irc:
channels:
- "irc.freenode.org#rapidftr"
template:
- "[%{repository}] [%{commit}] [%{author}] %{message} - %{build_url}"