diff options
author | 2019-12-19 17:53:50 -0800 | |
---|---|---|
committer | 2019-12-19 17:53:50 -0800 | |
commit | 4dba40a461b624adbe1e435897b1295af1666601 (patch) | |
tree | b45bddcb0f545b6a4410a14fe42030974603d7c0 | |
parent | README.md: improve formatting (diff) | |
download | packages-5-4dba40a461b624adbe1e435897b1295af1666601.tar.gz packages-5-4dba40a461b624adbe1e435897b1295af1666601.tar.bz2 packages-5-4dba40a461b624adbe1e435897b1295af1666601.zip |
travis: improve ES startup
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rw-r--r-- | .travis.yml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 387465c..dc83824 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,8 +18,14 @@ services: before_install: - gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true - gem install bundler -v '< 2' - - curl -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.5.1-amd64.deb && sudo dpkg -i --force-confnew elasticsearch-7.5.1-amd64.deb && sudo service elasticsearch restart - + # https://docs.travis-ci.com/user/database-setup/#elasticsearch + - curl -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.5.1-amd64.deb + # Verify checksum + - echo e566a88e15d8f85cf793c8f971b51eeae6465a0aa73f968ae4b1ee6aa71e4c20 elasticsearch-7.5.1-amd64.deb | sha256sum -c + - sudo service elasticsearch stop + - sudo dpkg -i --force-confnew elasticsearch-7.5.1-amd64.deb + - rm -f elasticsearch-7.5.1-amd64.deb + - sudo service elasticsearch start || systemctl status elasticsearch.service before_script: - cp config/secrets.yml.dist config/secrets.yml |