mjaun / android-anuto

Another ugly tower defense for Android
GNU General Public License v2.0
212 stars 68 forks source link

Set up automated build and test environment #130

Closed hyiltiz closed 5 years ago

hyiltiz commented 6 years ago

Just tried to gradle build the master 11dc354, latest tag v0.4-1 0d3b220 and a release merge 9fb05af, but all of them failed due to a lint error. I assume that is some syntax error.

* What went wrong:
Execution failed for task ':app:lint'.
> Lint found errors in the project; aborting build.

  Fix the issues identified by lint, or add the following to your build script to proceed with errors:
  ...
  android {
      lintOptions {
          abortOnError false
      }
  }
  ...

  Errors found:

  /Users/hyiltiz/src/android-anuto/app/src/main/res/values-ca/strings.xml:24: Error: Apostrophe not preceded by \ [StringEscaping]
      <string name="game_over">S'ha acabat!</string>
                                ^
  /Users/hyiltiz/src/android-anuto/app/src/main/res/values-ca/strings.xml:61: Error: Apostrophe not preceded by \ [StringEscaping]
      <string name="map_original_name">L'original</string>

While it may well be an environmental issue, the project could still benefit from a automated build and test environment (e.g. Travis CI). BTW, simply removing values-ca folder passed the build.

mjaun commented 6 years ago

Thanks for reporting. Fixed on master now. CI would definitely be appreciated.

mjaun commented 5 years ago

Integrated Travis CI.