The code powering m.abunchtell.com https://m.abunchtell.com
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.
 
 
 
 

59 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. dist: trusty
  10. sudo: required
  11. notifications:
  12. email: false
  13. env:
  14. global:
  15. - LOCAL_DOMAIN=cb6e6126.ngrok.io
  16. - LOCAL_HTTPS=true
  17. - RAILS_ENV=test
  18. - NOKOGIRI_USE_SYSTEM_LIBRARIES=true
  19. - PARALLEL_TEST_PROCESSORS=2
  20. - "PATH=$HOME:$PATH"
  21. addons:
  22. postgresql: 9.4
  23. apt:
  24. sources:
  25. - ubuntu-toolchain-r-test
  26. - trusty-media
  27. packages:
  28. - ffmpeg
  29. - g++-6
  30. - libprotobuf-dev
  31. - protobuf-compiler
  32. - libicu-dev
  33. rvm:
  34. - 2.3.4
  35. - 2.4.1
  36. services:
  37. - redis-server
  38. install:
  39. - nvm install
  40. - npm install -g yarn
  41. - bundle install --path=vendor/bundle --without development production --retry=3 --jobs=16
  42. - yarn install
  43. before_script:
  44. - bundle exec rake parallel:create parallel:load_schema parallel:prepare
  45. - bundle exec rails assets:precompile
  46. - ln -s /usr/bin/x86_64-linux-gnu-g++-6 "$HOME/g++"
  47. script:
  48. - travis_retry bundle exec parallel_test spec/ --group-by filesize --type rspec
  49. - npm test
  50. - bundle exec i18n-tasks unused