GCX-HCI / ThirtyInch

a MVP library for Android favoring a stateful Presenter
Apache License 2.0
1.03k stars 101 forks source link

Move travis to docker #116

Closed StefMa closed 5 years ago

StefMa commented 6 years ago

Based on #115

Benefits of using docker:

Benefits of the new travisscript:

Do we have speed benefits?

What do test:

StefMa commented 6 years ago

Seems that UnitTests are working now in docker 👍 That is great... Moving now InstrumentationTests back to travis...

StefMa commented 6 years ago

Read also that: https://docs.travis-ci.com/user/speeding-up-the-build/

Thinking about to have two parallel builds:

  1. Native for Instrumentation Tests
  2. Docker for Junit, codecov etc.
StefMa commented 6 years ago

\o/ 💛 :awesome: :sweet: 🍬

Here is a 🌮

StefMa commented 6 years ago

Next step is to cache the dependencies https://docs.travis-ci.com/user/caching/

And other 🍬 :

StefMa commented 6 years ago

Don't cache. Because we can't really delete the cache ... Make no sense with that mechanism...

StefMa commented 6 years ago

🤦‍♂️

StefMa commented 6 years ago

Currently build-tools got not parsed correctly.. geist_1506584908395

StefMa commented 6 years ago

Rebased all. Works now 👊

Problem was that \' is valid on "mac sed" but not on "gnu sed". Replaced it with just '. Works on both sed versions...

StefMa commented 6 years ago

If codecov works as aspected

Seems that codecov is reporting fine \o/ See https://codecov.io/gh/grandcentrix/ThirtyInch/compare/7533ea03c848ab39911356fe2965e51070094d7e...5c2ba57fdf35738b40d97bff013b9565fdb2625e