diff --git a/.travis.yml b/.travis.yml index d4f958ff..465536bf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,4 +23,4 @@ after_success: - chmod +x ./upload_apk.sh - ./upload_apk.sh -script: cd android_app && ./gradlew assembleDebug +script: cd android_app && ./gradlew -i testDebugUnitTest assembleDebug diff --git a/android_app/app/build.gradle b/android_app/app/build.gradle index 291ecff2..3fd5e2b1 100644 --- a/android_app/app/build.gradle +++ b/android_app/app/build.gradle @@ -31,4 +31,6 @@ dependencies { compile "com.android.support:support-v4:${supportLibVersion}" compile "com.android.support:appcompat-v7:${supportLibVersion}" compile 'com.github.lecho:hellocharts-library:1.5.8@aar' + + testCompile 'junit:junit:4.12' }