Skip to content

Commit

Permalink
Merge pull request #24 from crisolutions/dev
Browse files Browse the repository at this point in the history
Set up Travis CI
  • Loading branch information
benwicks authored Feb 25, 2019
2 parents 2e1472b + 1db6a64 commit cf782de
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 3 deletions.
15 changes: 15 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
language: android

jdk:
- oraclejdk8

install:
# Let's use the new command 'sdkmanager' to install Android SDK components
- yes | sdkmanager "build-tools;28.0.2"
- yes | sdkmanager "platform-tools"
- yes | sdkmanager "tools"
- yes | sdkmanager "platforms;android-28"
- yes | sdkmanager "system-images;android-28;default;x86"

script:
- ./gradlew clean build -w
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Common Library
[![Build Status](https://travis-ci.org/crisolutions/commonlibrary.svg?branch=master)](https://travis-ci.org/crisolutions/commonlibrary)

Library of the Common module from CRI Solutions.

Expand Down Expand Up @@ -45,4 +46,4 @@ android {
to the module's gradle file.

## Releasing
The [RELEASING.md](./RELEASING.md) file includes information on the releasing process for the library.
The [RELEASING.md](./RELEASING.md) file includes information on the releasing process for the library.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public void onStop(Activity activity) {

}

public void onDestroy(AppCompatActivity activity) {
public void onDestroy(Activity activity) {

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public void onNestedScroll(
@Override
public void onHidden(FloatingActionButton fab) {
super.onHidden(fab);
fab.setVisibility(View.INVISIBLE);
((View) fab).setVisibility(View.INVISIBLE);
}
});
} else if (dyConsumed < 0 && child.getVisibility() != View.VISIBLE) {
Expand Down

0 comments on commit cf782de

Please sign in to comment.