Only run one android build till figure out how to filter in testmunk script

This commit is contained in:
Leith Bade
2014-11-22 17:11:36 +11:00
parent 08d11b23a8
commit ad27e0f2e2
2 changed files with 13 additions and 9 deletions

View File

@@ -7,9 +7,9 @@ matrix:
- os: linux
env: BUILDTYPE=Release JOBS=16 MASON_PLATFORM=android
compiler: clang
- os: linux
env: BUILDTYPE=Debug JOBS=16 MASON_PLATFORM=android
compiler: clang
# - os: linux
# env: BUILDTYPE=Debug JOBS=16 MASON_PLATFORM=android
# compiler: clang
- os: linux
env: BUILDTYPE=Release JOBS=16
compiler: clang
@@ -22,12 +22,12 @@ matrix:
- os: linux
env: BUILDTYPE=Debug JOBS=8
compiler: gcc
- os: osx
env: BUILDTYPE=Release JOBS=8 MASON_PLATFORM=android
compiler: clang
- os: osx
env: BUILDTYPE=Debug JOBS=8 MASON_PLATFORM=android
compiler: clang
# - os: osx
# env: BUILDTYPE=Release JOBS=8 MASON_PLATFORM=android
# compiler: clang
# - os: osx
# env: BUILDTYPE=Debug JOBS=8 MASON_PLATFORM=android
# compiler: clang
- os: osx
env: BUILDTYPE=Release JOBS=8
compiler: clang

View File

@@ -6,12 +6,16 @@ set -o pipefail
echo "submitting testrun to testmunk"
echo "uploading features"
echo
cd android/test
zip -r features.zip features/
curl -H 'Accept: application/vnd.testmunk.v1+json' -F 'file=@features.zip' 'https://If1ONAxGqcIgiI1vtK468V54ERJf1xem@api.testmunk.com/apps/Testmunk/testcases'
cd ../..
echo "uploading apk"
echo
cd android/java/app/build/outputs/apk/
curl -H 'Accept: application/vnd.testmunk.v1+json' -F 'file=@app-debug.apk' -F 'email=leith@mapbox.com' -F 'autoStart=true' -F 'public=true' 'https://If1ONAxGqcIgiI1vtK468V54ERJf1xem@api.testmunk.com/apps/Mapbox/testruns'
cd ../../../../../..