Browse code

test/travis: move travis scripts to tests/travis ( Closes #20 )

Victor Seva authored on 06/01/2015 20:55:25
Showing 1 changed files
1 1
new file mode 100755
... ...
@@ -0,0 +1,11 @@
1
+#!/bin/bash
2
+# create MySQL and PostgreSQL kamailio databases
3
+
4
+cd utils/kamctl
5
+PWSKIP=yes CHARSET=latin1 DBENGINE=MYSQL DBNAME=kamailio INSTALL_EXTRA_TABLES=yes \
6
+  INSTALL_PRESENCE_TABLES=yes INSTALL_DBUID_TABLES=yes \
7
+  ./kamdbctl create
8
+touch ~/.pgpass; chmod 600 ~/.pgpass
9
+PWSKIP=yes DBENGINE=PGSQL DBNAME=kamailio INSTALL_EXTRA_TABLES=yes \
10
+  INSTALL_PRESENCE_TABLES=yes INSTALL_DBUID_TABLES=yes \
11
+  ./kamdbctl create