-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature add minimal travis with cnm unit test #2023
base: development
Are you sure you want to change the base?
Feature add minimal travis with cnm unit test #2023
Conversation
…nit_test # Conflicts: # app/src/test/java/org/eyeseetea/malariacare/domain/entity/OrganisationUnitTest.java
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@idelcano this compilation fail in Travis and I have inserted comments also
- sys-img-armeabi-v7a-android-22 | ||
- extra-android-support | ||
script: | ||
- "./gradlew --no-daemon testCnmDebugUnitTest" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should compile all variants
@@ -24,7 +24,7 @@ | |||
public OrganisationUnit(String uid, String name, String description, Date closedDate) { | |||
this.uid = required(uid,"UID is required"); | |||
this.name = required(name,"Name is required"); | |||
this.description = required(description,"Description is required"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To add Travis we should not remove a domain validation
@@ -11,7 +11,8 @@ | |||
public MediaMapperTest() { | |||
} | |||
|
|||
@Test | |||
//@Test | |||
//// FIXME: 03/04/2018 The actual build gradle don't compile the dbflow classes and MediaDB causes a illegalexception |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please review this, Why this error with dbflow classes?
@@ -11,7 +11,8 @@ | |||
public MediaMapperTest() { | |||
} | |||
|
|||
@Test | |||
//@Test | |||
//// FIXME: 03/04/2018 The actual build gradle don't compile the dbflow classes and MediaDB causes a illegalexception |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please review this, Why this error with dbflow classes?
Closes #1843