1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
lpr-partynest/.travis.yml

57 lines
1.5 KiB
YAML
Raw Normal View History

2019-01-29 15:23:33 -05:00
dist: xenial
2018-11-28 09:19:09 -05:00
language: ruby
2018-11-28 09:37:55 -05:00
services:
- postgresql
2018-12-07 09:37:43 -05:00
- redis-server
2018-11-28 09:37:55 -05:00
env:
global:
2018-12-08 21:50:09 -05:00
- RAILS_MAX_THREADS=5
2018-12-09 20:30:32 -05:00
- SIDEKIQ_CONCURRENCY=5
2018-12-08 21:50:09 -05:00
2018-12-09 20:16:26 -05:00
- POSTGRES_POOL=5
2018-11-28 09:37:55 -05:00
- POSTGRES_HOST=localhost
- POSTGRES_PORT=5432
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=''
- POSTGRES_DB=partynest_test
2018-12-08 21:50:09 -05:00
- SIDEKIQ_CLIENT_REDIS_HOST=localhost
- SIDEKIQ_CLIENT_REDIS_PORT=6379
- SIDEKIQ_CLIENT_REDIS_DB=0
- SIDEKIQ_CLIENT_REDIS_PASSWORD=
- SIDEKIQ_SERVER_REDIS_HOST=localhost
- SIDEKIQ_SERVER_REDIS_PORT=6379
- SIDEKIQ_SERVER_REDIS_DB=0
- SIDEKIQ_SERVER_REDIS_PASSWORD=
- RAILS_CACHE_REDIS_HOST=localhost
- RAILS_CACHE_REDIS_PORT=6379
- RAILS_CACHE_REDIS_DB=1
- RAILS_CACHE_REDIS_PASSWORD=
2020-01-15 03:40:20 -05:00
- ELASTICSEARCH_HOST=localhost
- ELASTICSEARCH_PORT=9200
- ELASTICSEARCH_USER=elastic
- ELASTICSEARCH_PASSWORD=changeme
2018-11-30 18:41:15 -05:00
before_install:
- wget https://github.com/mozilla/geckodriver/releases/download/v0.23.0/geckodriver-v0.23.0-linux64.tar.gz
- sudo tar -xvzf geckodriver*
- sudo chmod +x geckodriver
- sudo mv geckodriver /usr/local/bin/
2018-12-12 19:00:07 -05:00
- geckodriver --version
2018-11-30 18:41:15 -05:00
2020-01-15 04:08:45 -05:00
- 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
2020-01-15 04:19:09 -05:00
- sudo chown -R elasticsearch:elasticsearch /etc/default/elasticsearch
2020-01-15 04:22:40 -05:00
- sudo systemctl restart elasticsearch.service
2020-01-15 04:08:45 -05:00
2019-04-27 08:45:16 -04:00
install: script/setup --travis
2018-11-30 18:48:16 -05:00
2018-12-12 21:28:32 -05:00
script: bundle exec rake all
2018-12-08 19:08:51 -05:00
2019-04-27 08:15:54 -04:00
after_script: bundle exec rake coveralls:push