mirror of
https://github.com/plausible/analytics.git
synced 2024-11-23 20:13:31 +03:00
20 lines
525 B
YAML
20 lines
525 B
YAML
language: elixir
|
|
elixir: '1.10.3'
|
|
otp_release: '21.1'
|
|
services:
|
|
- postgresql
|
|
- 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
|
|
- docker build -t plausible/analytics .
|
|
env:
|
|
- MIX_ENV=test
|
|
script: mix coveralls.travis
|
|
deploy:
|
|
provider: script
|
|
script: bash docker_push
|
|
on:
|
|
branch: master
|