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.

38 lines
571 B

7 years ago
  1. language: ruby
  2. cache: bundler
  3. notifications:
  4. email: false
  5. env:
  6. matrix:
  7. - TRAVIS_NODE_VERSION="4"
  8. global:
  9. - LOCAL_DOMAIN=cb6e6126.ngrok.io
  10. - LOCAL_HTTPS=true
  11. - RAILS_ENV=test
  12. addons:
  13. postgresql: 9.4
  14. rvm:
  15. - 2.3.1
  16. services:
  17. - redis-server
  18. bundler_args: --without development production --retry=3 --jobs=3
  19. install:
  20. - nvm install $TRAVIS_NODE_VERSION
  21. - npm install -g npm@3
  22. - npm install -g yarn
  23. - bundle install
  24. - yarn install
  25. before_script:
  26. - bundle exec rails db:create db:migrate
  27. script:
  28. - bundle exec rspec
  29. - npm test