Skip to content

Feature add minimal travis with cnm unit test#2023

Open
idelcano wants to merge 17 commits intodevelopmentfrom
feature-add_minimal_travis_with_cnm_unit_test
Open

Feature add minimal travis with cnm unit test#2023
idelcano wants to merge 17 commits intodevelopmentfrom
feature-add_minimal_travis_with_cnm_unit_test

Conversation

@idelcano
Copy link
Copy Markdown
Contributor

@idelcano idelcano commented Apr 3, 2018

Closes #1843

@idelcano idelcano requested review from ifoche and xurxodev April 3, 2018 20:46
xurxodev added 2 commits July 20, 2018 08:27
…nit_test

# Conflicts:
#	app/src/test/java/org/eyeseetea/malariacare/domain/entity/OrganisationUnitTest.java
Copy link
Copy Markdown
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

Comment thread .travis.yml
- sys-img-armeabi-v7a-android-22
- extra-android-support
script:
- "./gradlew --no-daemon testCnmDebugUnitTest"
Copy link
Copy Markdown
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

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
Copy Markdown
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


@Test
//@Test
//// FIXME: 03/04/2018 The actual build gradle don't compile the dbflow classes and MediaDB causes a illegalexception
Copy link
Copy Markdown
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?


@Test
//@Test
//// FIXME: 03/04/2018 The actual build gradle don't compile the dbflow classes and MediaDB causes a illegalexception
Copy link
Copy Markdown
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.

3 participants