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

41 lines
850 B
YAML
Raw Normal View History

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-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=
2018-11-30 18:41:15 -05:00
before_install:
2018-11-30 18:48:16 -05:00
- sudo apt install qt4-qmake libqt4-dev libqtwebkit-dev xvfb
2018-11-30 18:41:15 -05:00
2018-12-02 15:03:51 -05:00
install:
- bundle install --jobs=3 --retry=3
- npm install
2018-11-28 09:37:55 -05:00
before_script:
- psql -U postgres -c "CREATE DATABASE partynest_test;"
2018-11-30 18:48:16 -05:00
script: xvfb-run -a bundle exec rake
2018-12-08 19:08:51 -05:00
after_script:
- bundle exec rake coveralls:push