21
1
Fork 0
mirror of https://github.com/Evolix/chexpire.git synced 2024-04-27 06:20:50 +02:00
chexpire/.travis.yml
2018-08-02 00:29:53 +02:00

34 lines
717 B
YAML

# Copyright (C) 2018 Colin Darie <colin@darie.eu>, 2018 Evolix <info@evolix.fr>
# License: GNU AGPL-3+ (see full text in LICENSE file)
language:
- ruby
cache:
- bundler
- yarn
node_js: 9
sudo: required # required with chrome addon
addons:
chrome: stable
before_install:
- cp config/database.example.yml config/database.yml
- cp config/secrets.example.yml config/secrets.yml
# Test configuration loaded from chexpire.defaults.yml,
# but chexpire.yml file is required
- touch config/chexpire.yml
install:
- bundle install
- yarn install
- rails db:create db:migrate
script:
- bundle exec rubocop
- bundle exec rails test NO_COVERAGE=1
- bundle exec rails test:system NO_COVERAGE=1