elasticsearch-elixir/.travis.yml
2019-07-01 20:50:14 +02:00

22 lines
572 B
YAML

language: elixir
cache:
directories:
- $HOME/.mix
elixir:
- 1.7.2
otp_release:
- 20.1
env:
- ELASTICSEARCH_VERSION=6.2.4
- ELASTICSEARCH_VERSION=6.5.2
services:
- elasticsearch
- postgresql
before_install:
- wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${ELASTICSEARCH_VERSION}.deb && sudo dpkg -i --force-confnew elasticsearch-${ELASTICSEARCH_VERSION}.deb && sudo service elasticsearch restart
before_script:
- sleep 10
- cp config/travis.exs config/config.exs
- mix do ecto.create, ecto.migrate
script:
- bin/setup