Skip to content

Commit

Permalink
Test consistency of compileSdkVersion and targetSdkVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
yaraki committed Aug 14, 2015
1 parent 8a83555 commit a02dc39
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ before_install:
script:
- (cd builder && ./gradlew test && pandoc build/reports/tests/index.html -t plain | sed -n '/^Failed tests/,/default-package/p')
- for f in */README.md; do sed -n '/Support/,/License/p' $f > /tmp/$(dirname $f).readme; done && diff -u --from-file=/tmp/hello-jni.readme /tmp/*.readme
- test `grep -h compileSdkVersion */app/build.gradle | awk -F= '{gsub(/ /, "", $2); print $2;}' | sort | uniq | wc -l` = "1"
- test `grep -h targetSdkVersion */app/build.gradle | awk -F= '{gsub(/ /, "", $2); print $2;}' | sort | uniq | wc -l` = "1"

0 comments on commit a02dc39

Please sign in to comment.