A web application to help check for domain or SSL/TLS certificate expirations.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

44 lines
938 B

  1. # Copyright (C) 2018 Colin Darie <colin@darie.eu>, 2018 Evolix <info@evolix.fr>
  2. # License: GNU AGPL-3+ (see full text in LICENSE file)
  3. language:
  4. - ruby
  5. rvm:
  6. ### Zeitwerk is not fully compatible with < 2.5.4
  7. ### cf. https://github.com/Evolix/chexpire/pull/104
  8. - 2.5
  9. - 2.6
  10. cache:
  11. - bundler
  12. - yarn
  13. node_js: 9
  14. sudo: required # required with chrome addon
  15. addons:
  16. chrome: stable
  17. services:
  18. - mysql
  19. before_install:
  20. - mysql -e 'CREATE DATABASE chexpire_test;'
  21. - cp config/database.travis.yml config/database.yml
  22. - cp config/secrets.example.yml config/secrets.yml
  23. # Test configuration loaded from chexpire.defaults.yml,
  24. # but chexpire.yml file is required
  25. - touch config/chexpire.yml
  26. install:
  27. - bundle install
  28. - yarn install
  29. - rails db:create db:migrate
  30. - rails webpacker:compile
  31. script:
  32. - bundle exec rubocop
  33. - bundle exec rails test NO_COVERAGE=1
  34. - bundle exec rails test:system NO_COVERAGE=1