aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-07-22 11:59:25 +0200
committerHans de Graaff <graaff@gentoo.org>2019-07-22 12:02:19 +0200
commitc2a56e407d3272125c6a539a5ac5d839a2808432 (patch)
treeeb70a8d41b3baba2581e0eeeda924b0e7f4bbb50
parentUse ES 6.3.0 on travis CI to match production (diff)
downloadpackages-5-c2a56e407d3272125c6a539a5ac5d839a2808432.tar.gz
packages-5-c2a56e407d3272125c6a539a5ac5d839a2808432.tar.bz2
packages-5-c2a56e407d3272125c6a539a5ac5d839a2808432.zip
Set up the test index since these are used for tests
The tests expect the indices to have a "-test" extension since that is the test environment, so make sure to set this up in travis as well so that the test indices exists. Signed-off-by: Hans de Graaff <graaff@gentoo.org>
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 8d392a6..094ec6f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -25,4 +25,4 @@ before_script:
- cp config/secrets.yml.dist config/secrets.yml
# Wait for Elasticsearch
- sleep 10
- - bundle exec rake kkuleomi:index:init
+ - bundle exec rake kkuleomi:index:init RAILS_ENV=test