travis: display SdkVersion test output on stderr

This commit is contained in:
Johan Euphrosine
2015-08-25 11:39:43 -07:00
parent ab8a61edcf
commit 83e5b29b40

View File

@@ -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" ]]