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.

55 lines
1.1 KiB

  1. language: ruby
  2. cache:
  3. bundler: true
  4. yarn: true
  5. directories:
  6. - node_modules
  7. - public/assets
  8. - public/packs-test
  9. - tmp/cache/babel-loader
  10. dist: trusty
  11. sudo: false
  12. notifications:
  13. email: false
  14. env:
  15. global:
  16. - LOCAL_DOMAIN=cb6e6126.ngrok.io
  17. - LOCAL_HTTPS=true
  18. - RAILS_ENV=test
  19. - PARALLEL_TEST_PROCESSORS=2
  20. addons:
  21. postgresql: 9.4
  22. apt:
  23. sources:
  24. - trusty-media
  25. - sourceline: deb https://dl.yarnpkg.com/debian/ stable main
  26. key_url: https://dl.yarnpkg.com/debian/pubkey.gpg
  27. packages:
  28. - ffmpeg
  29. - libicu-dev
  30. - libprotobuf-dev
  31. - protobuf-compiler
  32. - yarn
  33. rvm:
  34. - 2.4.2
  35. - 2.5.0
  36. services:
  37. - redis-server
  38. install:
  39. - nvm install
  40. - bundle install --path=vendor/bundle --without development production --retry=3 --jobs=16
  41. - yarn install
  42. before_script:
  43. - ./bin/rails parallel:create parallel:load_schema parallel:prepare assets:precompile
  44. script:
  45. - travis_retry bundle exec parallel_test spec/ --group-by filesize --type rspec
  46. - yarn run test:jest
  47. - bundle exec i18n-tasks check-normalized && bundle exec i18n-tasks unused