logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

.travis.yml (1254B)


  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. branches:
  13. only:
  14. - master
  15. notifications:
  16. email: false
  17. env:
  18. global:
  19. - LOCAL_DOMAIN=cb6e6126.ngrok.io
  20. - LOCAL_HTTPS=true
  21. - RAILS_ENV=test
  22. - NOKOGIRI_USE_SYSTEM_LIBRARIES=true
  23. - PARALLEL_TEST_PROCESSORS=2
  24. - ALLOW_NOPAM=true
  25. addons:
  26. postgresql: 9.4
  27. apt:
  28. sources:
  29. - trusty-media
  30. - sourceline: deb https://dl.yarnpkg.com/debian/ stable main
  31. key_url: https://dl.yarnpkg.com/debian/pubkey.gpg
  32. packages:
  33. - ffmpeg
  34. - libicu-dev
  35. - libprotobuf-dev
  36. - protobuf-compiler
  37. - yarn
  38. rvm:
  39. - 2.4.3
  40. - 2.5.0
  41. services:
  42. - redis-server
  43. install:
  44. - nvm install
  45. - bundle install --path=vendor/bundle --with pam_authentication --without development production --retry=3 --jobs=16
  46. - yarn install
  47. before_script:
  48. - ./bin/rails parallel:create parallel:load_schema parallel:prepare assets:precompile
  49. script:
  50. - travis_retry bundle exec parallel_test spec/ --group-by filesize --type rspec
  51. - yarn run test:jest
  52. - bundle exec i18n-tasks check-normalized && bundle exec i18n-tasks unused