-
Notifications
You must be signed in to change notification settings - Fork 140
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backport to API 14+, customization of colors for FAB, background and …
…buttons (at runtime) now available. (#22) * Fix some issues when initing the FabOptions (close animation on startup), Fix #17 * Add travis config file * Backport to API 14+, customization of colors for FAB, background and buttons (at runtime) now available. (#21) * Null check on setButtonsMenu * Initial icon * Initial API support, style background and FAb colors * Adds the ability to costumize menu item color via button Id or index, closes #16 * animation on compat * backport to Api 16 without animations, customasable options (colors etc.) * Backport to API 14 instead of 16 * Expose new customizable options, change README with new public APIs * update readme * version bumps, readme update * Small updates for release
- Loading branch information
1 parent
6901f4b
commit 8a81a43
Showing
20 changed files
with
387 additions
and
100 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,69 @@ | ||
language: android | ||
|
||
jdk: | ||
# Jdk version used by your project | ||
- oraclejdk8 | ||
|
||
sudo: false | ||
|
||
android: | ||
components: | ||
- platform-tools | ||
- tools | ||
# The BuildTools version used by your project | ||
- build-tools-24.0.3 | ||
- android-25 | ||
- extra-android-m2repository | ||
- extra-google-m2repository | ||
- extra-android-support | ||
- extra-google-google_play_services | ||
# Specify at least one system image, if you need to run emulator(s) during your tests | ||
- sys-img-armeabi-v7a-android-25 | ||
- sys-img-x86-android-25 | ||
|
||
licenses: | ||
- android-sdk-preview-license-.+ | ||
- android-sdk-license-.+ | ||
- google-gdk-license-.+ | ||
|
||
notifications: | ||
email: false | ||
|
||
before_cache: | ||
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock | ||
|
||
# cache between builds | ||
cache: | ||
directories: | ||
- $HOME/.m2 | ||
- $HOME/.gradle/caches/ | ||
- $HOME/.gradle/wrapper/ | ||
|
||
before_install: | ||
- chmod +x gradlew | ||
|
||
install: | ||
# Check install section: http://docs.travis-ci.com/user/build-configuration/#install | ||
# If you'd like to skip the install stage entirely, set it to true and nothing will be run. | ||
- true | ||
|
||
before_script: | ||
#- chmod +x gradlew | ||
- echo no | android create avd --force -n test -t android-25 --abi armeabi-v7a | ||
- emulator -avd test -no-skin -no-audio -no-window -no-boot-anim & | ||
- android-wait-for-emulator | ||
- adb shell input keyevent 82 & | ||
|
||
# Build, and run tests | ||
script: | ||
# Once tests written should run the gradle task for both Mobile and Wear | ||
# currently only doing a normal build to test Travis config | ||
#- ./gradlew mobile:functionalTests | ||
#- ./gradlew wear:functionalTests | ||
#- ./gradlew build core:connectedCheck | ||
- ./gradlew core:test --stacktrace | ||
#- ./gradlew core:jacocoTestReport --stacktrace | ||
|
||
# Codecov | ||
after_success: | ||
- bash <(curl -s https://codecov.io/bash) |
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
Oops, something went wrong.