.travis.yml 977 B

12345678910111213141516171819202122232425262728293031
  1. sudo: false
  2. language: ruby
  3. env:
  4. global:
  5. - APP_SECRET_TOKEN=b2724973fd81c2f4ac0f92ac48eb3f0152c4a11824c122bcf783419a4c51d8b9bba81c8ba6a66c7de599677c7f486242cf819775c433908e77c739c5c8ae118d
  6. matrix:
  7. - DATABASE_ADAPTER=mysql2
  8. - DATABASE_ADAPTER=postgresql DATABASE_USERNAME=postgres ON_HEROKU=true
  9. rvm:
  10. - 2.0.0
  11. - 2.1.5
  12. - 2.2.0
  13. cache: bundler
  14. bundler_args: --without development production
  15. before_script:
  16. - bundle exec rake db:create db:migrate
  17. script: bundle exec rake
  18. notifications:
  19. irc:
  20. channels:
  21. - chat.freenode.net#huginn
  22. template:
  23. - "<%{author}> %{branch} - %{commit} (%{commit_message}): %{message}"
  24. - 'Change view : %{compare_url}'
  25. - 'Build details : %{build_url}'
  26. webhooks:
  27. urls:
  28. - https://webhooks.gitter.im/e/5f92cc0393c6f1defe0d
  29. on_success: change # options: [always|never|change] default: always
  30. on_failure: always # options: [always|never|change] default: always
  31. on_start: false # default: false