This repository has been archived by the owner on Nov 10, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 70
/
.travis.yml
59 lines (48 loc) · 1.62 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
sudo: false
language: android
android:
components:
- build-tools-21.1.1
- android-8
- addon-google_apis-google-8
- addon-google_apis-google-18
licenses:
- android-sdk-license-5be876d5
jdk:
- oraclejdk8
branches:
except:
- gh-pages
env:
global:
- secure: "GAkAOv0XSs3UqAdvAuxQrcE8caIA4yad5iBV0WvOxnXgNghScgAojrEwcaTBqvB8OWckuRfBe4kGZKuWIoQbeXqr/EqVAbcGgU4fXzNMXTdAFre7UCR+TNcwS8R4h5JmWj0rrn7eXGp+LCXN9EmLeqecp8ciPrFMqBk4d/0iXPw="
matrix:
- TARGET_PLATFORM=indigo
- TARGET_PLATFORM=juno
- TARGET_PLATFORM=kepler
- TARGET_PLATFORM=luna
- TARGET_PLATFORM=mars
- TARGET_PLATFORM=andmore
before_install:
# install android sdk dependencies in local repo
- git clone https://github.com/mosabua/maven-android-sdk-deployer.git
- cd maven-android-sdk-deployer
- mvn install -P 4.3,2.2
- cd ..
# start windowing session
- sh -e /etc/init.d/xvfb start
before_script:
- export DISPLAY=:99.0
- echo adtUsed=true$'\n'lastSdkPath=$ANDROID_HOME$'\n'pingId=844 > ~/.android/ddms.cfg
script:
- mvn install -DskipTests -Dmaven.javadoc.skip=true -B -V
- mvn verify -e --file me.gladwell.eclipse.m2e.android.test/pom.xml -Dtarget.platform=$TARGET_PLATFORM -Dtycho.showEclipseLog=true
after_success:
- if [[ $TRAVIS_PULL_REQUEST == "false" && $TARGET_PLATFORM == "luna" ]]; then mvn -Dgithub.global.oauth2Token=$GITHUB_AUTH_TOKEN -pl me.gladwell.eclipse.m2e.android.update com.github.github:site-maven-plugin:site; fi
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/45c0e632fcb1b921d733
on_success: change
on_failure: always
on_start: never