2019-10-25 09:18:07 +03:00
|
|
|
language: elixir
|
2020-05-29 13:20:24 +03:00
|
|
|
elixir: '1.10.3'
|
2019-10-25 09:18:07 +03:00
|
|
|
otp_release: '21.1'
|
|
|
|
services:
|
|
|
|
- postgresql
|
2020-05-18 12:44:52 +03:00
|
|
|
- docker
|
|
|
|
before_install:
|
|
|
|
- echo "CREATE DATABASE plausible_test" > $HOME/init.sql
|
|
|
|
- docker pull yandex/clickhouse-server
|
|
|
|
- docker run -d -p 8123:8123 --ulimit nofile=262144:262144 --volume=$HOME/init.sql:/docker-entrypoint-initdb.d/init.sql yandex/clickhouse-server
|
2020-06-03 14:18:14 +03:00
|
|
|
- docker build -t plausible/analytics .
|
2019-10-25 09:39:45 +03:00
|
|
|
env:
|
|
|
|
- MIX_ENV=test
|
|
|
|
script: mix coveralls.travis
|
2020-06-03 14:18:14 +03:00
|
|
|
deploy:
|
|
|
|
provider: script
|
|
|
|
script: bash docker_push
|
|
|
|
on:
|
|
|
|
branch: master
|