-
Notifications
You must be signed in to change notification settings - Fork 300
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Travis config + Fix release build by using an old version of the grad…
…le android plugin (#403) * Use an old version of the gradle android plugin to workaround this bug: https://code.google.com/p/android/issues/detail\?id\=223162 * Use build tools version 25 * New travis config, check for debug and release builds, also run lint checks * Add extra-google repo to travis config in order to build the Wearable project * Add old travis trick to lint check with API 25 * Remove unused IDs from the gradle.properties-example * Update README with the gradle.properties-example file
- Loading branch information
Showing
5 changed files
with
50 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
language: android | ||
jdk: oraclejdk8 | ||
|
||
android: | ||
components: | ||
- extra-google-m2repository | ||
- extra-android-m2repository | ||
- extra-android-support | ||
- platform-tools | ||
- tools | ||
- build-tools-25.0.1 | ||
- android-25 | ||
|
||
env: | ||
global: | ||
- GRADLE_OPTS="-XX:MaxPermSize=4g -Xmx4g" | ||
- ANDROID_SDKS=android-14 | ||
- ANDROID_TARGET=android-14 | ||
|
||
before_install: | ||
# TODO: Remove the following line when Travis' platform-tools are updated to v25+ | ||
- echo yes | android update sdk -a --filter platform-tools --no-ui --force | ||
|
||
install: | ||
# Setup gradle.properties | ||
- cp Simplenote/gradle.properties-example Simplenote/gradle.properties | ||
|
||
script: | ||
- ./gradlew assembleDebug assembleRelease | ||
- ./gradlew lint || (grep -A20 -B2 'severity="Error"' */build/outputs/*.xml; exit 1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
simperiumAppId=FIXME | ||
simperiumAppKey=FIXME | ||
googleAnalyticsId= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters