You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ra...@apache.org on 2015/05/01 19:28:36 UTC

git commit: updated refs/heads/master to 89fa251

Repository: cloudstack
Updated Branches:
  refs/heads/master df3dea58a -> 89fa25111


CLOUDSTACK-8429: travis: running junit tests only in the first job

added a new environment variable RUNUNITTESTS
running full build if RUNUNITESTS is true else skipping tests
job1 now runs only unittests
removed some of the test files from job9 and job10 as they are timing
out.

This closes #218


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/89fa2511
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/89fa2511
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/89fa2511

Branch: refs/heads/master
Commit: 89fa25111963e1eed62fab11740488a765ba1a26
Parents: df3dea5
Author: Rajani Karuturi <ra...@gmail.com>
Authored: Fri May 1 12:50:01 2015 +0530
Committer: Rajani Karuturi <ra...@gmail.com>
Committed: Fri May 1 22:57:31 2015 +0530

----------------------------------------------------------------------
 .travis.yml             | 4 ++--
 tools/travis/install.sh | 7 ++++++-
 2 files changed, 8 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/89fa2511/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 6f3992b..0d99d27 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -24,6 +24,7 @@ jdk:
 notifications:
   email: false
 env:
+- RUNUNITTESTS=true TESTS=""
 - TESTS="smoke/test_affinity_groups smoke/test_deploy_vms_with_varied_deploymentplanners smoke/test_disk_offerings smoke/test_global_settings"
 - TESTS="smoke/test_portable_publicip smoke/test_primary_storage smoke/test_privategw_acl smoke/test_public_ip_range smoke/test_pvlan smoke/test_regions"
 - TESTS="smoke/test_reset_vm_on_reboot smoke/test_resource_detail smoke/test_routers smoke/test_guest_vlan_range smoke/test_iso"
@@ -32,8 +33,7 @@ env:
 - TESTS="smoke/test_volumes smoke/test_vpc_vpn smoke/misc/test_deploy_vm smoke/test_vm_life_cycle component/test_mm_max_limits"
 - TESTS="component/test_acl_isolatednetwork_delete component/test_mm_domain_limits component/test_acl_listsnapshot"
 - TESTS="component/test_acl_listvm component/test_acl_listvolume component/test_acl_sharednetwork_deployVM-impersonation component/test_acl_sharednetwork"
-- TESTS="component/test_resource_limits component/test_snapshots component/test_usage component/test_volumes component/test_vpc"
-- TESTS="component/test_vpc_network component/test_vpc_network_lbrules component/test_vpc_offerings"
+- TESTS="component/test_snapshots"
 before_install: travis_wait 30 ./tools/travis/before_install.sh
 install: ./tools/travis/install.sh
 before_script: travis_wait 30 ./tools/travis/before_script.sh

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/89fa2511/tools/travis/install.sh
----------------------------------------------------------------------
diff --git a/tools/travis/install.sh b/tools/travis/install.sh
index ceab8d1..0f4857f 100755
--- a/tools/travis/install.sh
+++ b/tools/travis/install.sh
@@ -25,7 +25,12 @@ export M2_HOME="/usr/local/maven-3.2.1/"
 export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=500m"
 
 # Compile Cloudstack
-mvn -q -Pimpatient -Dsimulator clean install
+if [[ $RUNUNITTESTS == true ]]; then
+    mvn -q -Pimpatient -Dsimulator clean install
+else
+    mvn -q -Pimpatient -Dsimulator clean install -DskipTests=true
+fi
+
 
 # Compile API Docs
 cd tools/apidoc