.travis.yml 905 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. language: ruby
  2. cache:
  3. bundler: false
  4. yarn: false
  5. dist: trusty
  6. sudo: false
  7. notifications:
  8. email: false
  9. env:
  10. global:
  11. - LOCAL_DOMAIN=cb6e6126.ngrok.io
  12. - LOCAL_HTTPS=true
  13. - RAILS_ENV=test
  14. - CXX=g++-4.8
  15. - NOKOGIRI_USE_SYSTEM_LIBRARIES=true
  16. - PARALLEL_TEST_PROCESSORS=2
  17. addons:
  18. postgresql: 9.4
  19. apt:
  20. sources:
  21. - ubuntu-toolchain-r-test
  22. - trusty-media
  23. packages:
  24. - g++-4.8
  25. - ffmpeg
  26. rvm:
  27. - 2.3.4
  28. - 2.4.1
  29. services:
  30. - redis-server
  31. install:
  32. - nvm install
  33. - npm install -g yarn
  34. - bundle install --path=vendor/bundle --without development production --retry=3 --jobs=16
  35. - yarn install
  36. before_script:
  37. - bundle exec rake parallel:create parallel:load_schema parallel:prepare
  38. - bundle exec rails assets:precompile
  39. script:
  40. - bundle exec parallel_test spec/ --group-by filesize --type rspec
  41. - npm test
  42. - bundle exec i18n-tasks unused