From b7dc13e180d07825e0d364e12400da81d443900e Mon Sep 17 00:00:00 2001 From: "David A. Velasco" Date: Tue, 22 Apr 2014 10:38:28 +0200 Subject: [PATCH] Updated ant rules to finish with a failure when a run test is not successful; and enforced failure of DownloadTest, to validate --- .travis.yml | 4 ++-- test_client/tests/custom_rules.xml | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 test_client/tests/custom_rules.xml diff --git a/.travis.yml b/.travis.yml index f96eea0b..3fc4a307 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,7 @@ before_install: - curl -3L https://raw.github.com/embarkmobile/android-sdk-installer/version-1/android-sdk-installer | bash /dev/stdin --install=$COMPONENTS - source ~/.android-sdk-installer/env -- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI -c 20M +- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI - emulator -avd test -no-skin -no-audio -no-window & - rm pom.xml - android update project -p . @@ -17,7 +17,7 @@ script: - ant clean - ant debug - cd test_client/tests -- ant clean debug install test +- ant acceptance-test env: global: - secure: f4Kms/mzkYRG4Kp8k6hsvG3Y0ztbJnA2J79OBw3VdqJOKVTzwsxMd1Yh325YDYO7I4HeHxGXy0H4p3rAPzIWr/nrOJ4wmcDwQYDQtVjF7S1ARWsX51FrCEV6A9ec2LAqNCQ8ZC0SoGb+HsmpFCE3uKAxRQt+B5MzOZvKNcvYpMA= diff --git a/test_client/tests/custom_rules.xml b/test_client/tests/custom_rules.xml new file mode 100644 index 00000000..c771dcd6 --- /dev/null +++ b/test_client/tests/custom_rules.xml @@ -0,0 +1,19 @@ + + + + + + + + + + Checking for failures + + + + + + All tests passed. + + + \ No newline at end of file