Skip to content

Commit

Permalink
Run lint from CircleCI.
Browse files Browse the repository at this point in the history
  • Loading branch information
lognaturel committed Nov 30, 2016
1 parent b5e9593 commit 52b7dc8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ machine:
dependencies:
override:
- echo y | android update sdk --no-ui --all --filter tools,platform-tools,build-tools-25.0.0,android-22,extra-google-m2repository,extra-google-google_play_services,extra-android-support
- ANDROID_HOME=/usr/local/android-sdk-linux ./gradlew dependencies
- ./gradlew dependencies -x lint

test:
pre:
Expand Down
6 changes: 6 additions & 0 deletions collect_app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ android {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}

lintOptions {
abortOnError true
ignoreWarnings true
}
}

task checkstyle(type: Checkstyle) {
Expand All @@ -74,6 +79,7 @@ allprojects {
options.compilerArgs << "-Xlint:all"
}
}

dependencies {
compile fileTree(dir: 'libs', include: '*.jar')
compile 'com.google.android.gms:play-services:4.1.32'
Expand Down

0 comments on commit 52b7dc8

Please sign in to comment.