mirror of
https://github.com/android/ndk-samples
synced 2025-11-07 16:51:54 +08:00
travis: display SdkVersion test output on stderr
This commit is contained in:
@@ -15,5 +15,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"
|
||||
- [[ $(grep -H compileSdkVersion */app/build.gradle | tee /dev/stderr | cut -d= -f 2 | sort | uniq | wc -l) == "1" ]]
|
||||
- [[ $(grep -H targetSdkVersion */app/build.gradle | tee /dev/stderr | cut -d= -f 2 | sort | uniq | wc -l) == "1" ]]
|
||||
|
||||
Reference in New Issue
Block a user