LibreShift / red-moon

Android screen filter app for night time phone use.
GNU General Public License v3.0
649 stars 81 forks source link

Updates + Travis #117

Closed Jawnnypoo closed 7 years ago

Jawnnypoo commented 7 years ago

This updates the project to use API 25 things (support lib, SDK, build tools)

This also adds a travis configuration (you will still need to enable travis at travis-ci.org)

Also, added a plugin to detect new versions. Just run ./gradlew dependencyUpdates

Jawnnypoo commented 7 years ago

Any thoughts here, @raatmarien ?

smichel17 commented 7 years ago

@Jawnnypoo I'm not @raatmarien, but my thoughts are:

Jawnnypoo commented 7 years ago

Travis is great for when people make PRs that you may not want to review manually, but have a machine run tests before merging. Something exactly like this PR. There is not much to it, but it would be great to have the assurance that nothing breaks in Unit tests. Although this app is lacking any tests right now, it might have them in the future, and that is where Travis comes into play.

Needless to say, most open source Android libraries and projects at least have Travis (or some other CI) set up in some capacity to check builds, so I figured it would be useful

smichel17 commented 7 years ago

I see the value of Travis in general, but remain unconvinced it will be useful right now.

That said, having an unused config file just sitting around in the repo is not a terrible problem.

raatmarien commented 7 years ago

Thanks for this PR @Jawnnypoo :+1: , the new version detection with Gradle looks really neat! As for Travis, I'm not sure if it is worth it for Red Moon right now, but it's nice to have the option to enable it.