Skip to content

Commit 159ac8e

Browse files
Merge pull request #235 from karthiksaligrama/master
Fix travis
2 parents ac950c9 + 984fa0e commit 159ac8e

File tree

2 files changed

+30
-3
lines changed

2 files changed

+30
-3
lines changed

.travis.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,16 @@
1-
language: java
1+
language: android
2+
android:
3+
components:
4+
- tools # to get the new `repository-11.xml`
5+
- tools # see https://github.com/travis-ci/travis-ci/issues/6040#issuecomment-219367943)
6+
- platform-tools
7+
- build-tools-24.0.2
8+
- android-11
9+
sudo: true
10+
script:
11+
- sudo rm /etc/mavenrc
12+
- export MAVEN_OPTS="-Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m"
13+
- mvn clean install -Dmaven.javadoc.skip=true cobertura:cobertura
14+
15+
after_success:
16+
- bash <(curl -s https://codecov.io/bash)

pom.xml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,17 @@
4646
<module>aws-android-sdk-kinesis</module>
4747
<module>aws-android-sdk-kms</module>
4848
<module>aws-android-sdk-lambda</module>
49+
<module>aws-android-sdk-lex</module>
4950
<module>aws-android-sdk-machinelearning</module>
5051
<module>aws-android-sdk-mobileanalytics</module>
5152
<module>aws-android-sdk-polly</module>
5253
<module>aws-android-sdk-pinpoint</module>
54+
<module>aws-android-sdk-rekognition</module>
5355
<module>aws-android-sdk-s3</module>
5456
<module>aws-android-sdk-sdb</module>
5557
<module>aws-android-sdk-ses</module>
5658
<module>aws-android-sdk-sns</module>
5759
<module>aws-android-sdk-sqs</module>
58-
<module>aws-android-sdk-lex</module>
59-
<module>aws-android-sdk-rekognition</module>
6060
</modules>
6161

6262
<developers>
@@ -104,6 +104,18 @@
104104
<additionalparam>-Xdoclint:none</additionalparam>
105105
</configuration>
106106
</plugin>
107+
<plugin>
108+
<groupId>org.codehaus.mojo</groupId>
109+
<artifactId>cobertura-maven-plugin</artifactId>
110+
<version>2.7</version>
111+
<configuration>
112+
<formats>
113+
<format>html</format>
114+
<format>xml</format>
115+
</formats>
116+
<check />
117+
</configuration>
118+
</plugin>
107119
</plugins>
108120
</pluginManagement>
109121
</build>

0 commit comments

Comments
 (0)