From 575c2054a0621c73f2a1c70fbf0019618fa1ed10 Mon Sep 17 00:00:00 2001 From: Victor Seva Date: Tue, 6 Jan 2015 11:55:46 +0100 Subject: [PATCH] travis-ci: exec test/unit tests - Disable tests that do not pass on travis-ci environment right now Closes #19 --- .travis.yml | 2 +- pkg/kamailio/deb/build_travis.sh | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 00560862f1c..37786df404b 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 a18b2e73c8b..05540eb8e67 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