2018-05-23 14:41:08 +02:00
|
|
|
language:
|
|
|
|
- ruby
|
|
|
|
|
|
|
|
cache:
|
|
|
|
- bundler
|
|
|
|
- yarn
|
|
|
|
|
|
|
|
node_js: 9
|
|
|
|
|
2018-05-24 22:55:20 +02:00
|
|
|
sudo: required # required with chrome addon
|
2018-05-23 14:41:08 +02:00
|
|
|
addons:
|
|
|
|
chrome: stable
|
|
|
|
|
|
|
|
before_install:
|
|
|
|
- cp config/database.example.yml config/database.yml
|
2018-05-23 16:23:34 +02:00
|
|
|
- cp config/chexpire.test.yml config/chexpire.yml
|
2018-05-24 16:01:08 +02:00
|
|
|
- cp config/secrets.example.yml config/secrets.yml
|
2018-05-23 14:41:08 +02:00
|
|
|
|
|
|
|
install:
|
|
|
|
- bundle install
|
|
|
|
- yarn install
|
|
|
|
- rails db:setup
|
|
|
|
|
|
|
|
script:
|
|
|
|
- bundle exec rubocop
|
|
|
|
- bundle exec rails test
|
2018-05-23 17:59:28 +02:00
|
|
|
- bundle exec rails test:system
|