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

34 lines
717 B
YAML
Raw Permalink Normal View History

# Copyright (C) 2018 Colin Darie <colin@darie.eu>, 2018 Evolix <info@evolix.fr>
# License: GNU AGPL-3+ (see full text in LICENSE file)
2018-05-23 14:41:08 +02:00
language:
- ruby
cache:
- bundler
- yarn
node_js: 9
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-24 16:01:08 +02:00
- cp config/secrets.example.yml config/secrets.yml
2018-05-23 14:41:08 +02:00
# Test configuration loaded from chexpire.defaults.yml,
# but chexpire.yml file is required
- touch config/chexpire.yml
2018-05-23 14:41:08 +02:00
install:
- bundle install
- yarn install
2018-06-05 09:58:07 +02:00
- rails db:create db:migrate
2018-05-23 14:41:08 +02:00
script:
- bundle exec rubocop
2018-06-02 15:44:34 +02:00
- bundle exec rails test NO_COVERAGE=1
- bundle exec rails test:system NO_COVERAGE=1