diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2016-02-11 21:53:36 +0100 |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2016-02-11 21:53:36 +0100 |
commit | 3908c9710c00a7da08ac76dc3680f4587bbf4164 (patch) | |
tree | b9f235516484e0fc6e4da648a5d2e1ae8c2e83d9 | |
parent | Get rid of calls to jlib.erl from tests (diff) |
Travis CI: Make sure Riak finds callback module
Riak calls back into ejabberd_riak during MapReduce.
-rw-r--r-- | .travis.yml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index d1215b2b..ba2fc352 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,6 +26,10 @@ install: - sudo apt-get -qq install libexpat1-dev libyaml-dev libpam0g-dev libsqlite3-dev before_script: + - mkdir "$PWD/ebin" + - echo "[{riak_kv, [{add_paths, [\"$PWD/ebin/\"]}]}]." > advanced.config + - sudo mv advanced.config /etc/riak/advanced.config + - sudo service riak restart - mysql -u root -e "CREATE USER 'ejabberd_test'@'localhost' IDENTIFIED BY 'ejabberd_test';" - mysql -u root -e "CREATE DATABASE ejabberd_test;" - mysql -u root -e "GRANT ALL ON ejabberd_test.* TO 'ejabberd_test'@'localhost';" @@ -39,7 +43,7 @@ script: - make - make install - make xref - - ERL_LIBS=$PWD make test + - make test - grep -q 'TEST COMPLETE, \([[:digit:]]*\) ok, .* of \1 ' logs/raw.log after_script: |