[sr-dev] git:master:575c2054: travis-ci: exec test/unit tests

Victor Seva linuxmaniac at torreviejawireless.org
Tue Jan 6 21:41:22 CET 2015


Module: kamailio
Branch: master
Commit: 575c2054a0621c73f2a1c70fbf0019618fa1ed10
URL: https://github.com/kamailio/kamailio/commit/575c2054a0621c73f2a1c70fbf0019618fa1ed10

Author: Victor Seva <linuxmaniac at torreviejawireless.org>
Committer: Victor Seva <linuxmaniac at torreviejawireless.org>
Date: 2015-01-06T21:39:28+01:00

travis-ci: exec test/unit tests

- Disable tests that do not pass on travis-ci environment right now

Closes #19

---

Modified: .travis.yml
Modified: pkg/kamailio/deb/build_travis.sh

---

Diff:  https://github.com/kamailio/kamailio/commit/575c2054a0621c73f2a1c70fbf0019618fa1ed10.diff
Patch: https://github.com/kamailio/kamailio/commit/575c2054a0621c73f2a1c70fbf0019618fa1ed10.patch

---

diff --git a/.travis.yml b/.travis.yml
index 0056086..37786df 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,7 +4,7 @@ compiler:
   - clang
 before_install:
   - sudo apt-get update -qq
-  - sudo apt-get install -y gdebi-core
+  - sudo apt-get install -y gdebi-core sip-tester sipsak
   - sudo pkg/kamailio/deb/build_deps.sh precise $TRAVIS_BUILD_DIR
   - ./pkg/kamailio/deb/databases_travis.sh
 script: ./pkg/kamailio/deb/build_travis.sh
diff --git a/pkg/kamailio/deb/build_travis.sh b/pkg/kamailio/deb/build_travis.sh
index a18b2e7..05540eb 100755
--- a/pkg/kamailio/deb/build_travis.sh
+++ b/pkg/kamailio/deb/build_travis.sh
@@ -10,6 +10,7 @@ PACKAGE_GROUPS="mysql postgres berkeley unixodbc radius presence ldap xml perl u
 	snmpstats carrierroute xmpp cpl redis python geoip\
 	sqlite json mono ims sctp java \
 	purple tls outbound websocket autheph"
+export TESTS_EXCLUDE="3 12 17 19 20 23 25 26 30 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 50"
 echo "make cfg"
 make FLAVOUR=kamailio cfg \
 	skip_modules="${EXCLUDED_MODULES} ${EXTRA_EXCLUDED_MODULES}" \
@@ -20,3 +21,5 @@ echo "make groups"
 for grp in ${PACKAGE_GROUPS}; do
 	make every-module group_include="k${grp}"
 done
+echo "unit tests"
+make -C test/unit




More information about the sr-dev mailing list