Browse code

travis-ci: exec test/unit tests

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

Closes #19

Victor Seva authored on 06/01/2015 10:55:46
Showing 2 changed files
... ...
@@ -4,7 +4,7 @@ compiler:
4 4
   - clang
5 5
 before_install:
6 6
   - sudo apt-get update -qq
7
-  - sudo apt-get install -y gdebi-core
7
+  - sudo apt-get install -y gdebi-core sip-tester sipsak
8 8
   - sudo pkg/kamailio/deb/build_deps.sh precise $TRAVIS_BUILD_DIR
9 9
   - ./pkg/kamailio/deb/databases_travis.sh
10 10
 script: ./pkg/kamailio/deb/build_travis.sh
... ...
@@ -10,6 +10,7 @@ PACKAGE_GROUPS="mysql postgres berkeley unixodbc radius presence ldap xml perl u
10 10
 	snmpstats carrierroute xmpp cpl redis python geoip\
11 11
 	sqlite json mono ims sctp java \
12 12
 	purple tls outbound websocket autheph"
13
+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"
13 14
 echo "make cfg"
14 15
 make FLAVOUR=kamailio cfg \
15 16
 	skip_modules="${EXCLUDED_MODULES} ${EXTRA_EXCLUDED_MODULES}" \
... ...
@@ -20,3 +21,5 @@ echo "make groups"
20 20
 for grp in ${PACKAGE_GROUPS}; do
21 21
 	make every-module group_include="k${grp}"
22 22
 done
23
+echo "unit tests"
24
+make -C test/unit