Skip to content
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

Open
wants to merge 17 commits into
base: development
Choose a base branch
from

Conversation

idelcano
Copy link
Contributor

@idelcano idelcano commented Apr 3, 2018

Closes #1843

…nit_test

# Conflicts:
#	app/src/test/java/org/eyeseetea/malariacare/domain/entity/OrganisationUnitTest.java
Copy link
Contributor

@xurxodev xurxodev left a 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"
Copy link
Contributor

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");
Copy link
Contributor

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
Copy link
Contributor

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
Copy link
Contributor

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants