|
|
@ -14,6 +14,9 @@ env: |
|
|
|
- LOCAL_HTTPS=true |
|
|
|
- LOCAL_HTTPS=true |
|
|
|
- RAILS_ENV=test |
|
|
|
- RAILS_ENV=test |
|
|
|
- CXX=g++-4.8 |
|
|
|
- CXX=g++-4.8 |
|
|
|
|
|
|
|
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true |
|
|
|
|
|
|
|
- PARALLEL_TEST_PROCESSORS=2 |
|
|
|
|
|
|
|
|
|
|
|
addons: |
|
|
|
addons: |
|
|
|
postgresql: 9.4 |
|
|
|
postgresql: 9.4 |
|
|
|
apt: |
|
|
|
apt: |
|
|
@ -31,7 +34,7 @@ rvm: |
|
|
|
services: |
|
|
|
services: |
|
|
|
- redis-server |
|
|
|
- redis-server |
|
|
|
|
|
|
|
|
|
|
|
bundler_args: --without development production --retry=3 --jobs=3 |
|
|
|
bundler_args: --without development production --retry=3 --jobs=16 |
|
|
|
|
|
|
|
|
|
|
|
install: |
|
|
|
install: |
|
|
|
- nvm install |
|
|
|
- nvm install |
|
|
@ -40,10 +43,10 @@ install: |
|
|
|
- yarn install |
|
|
|
- yarn install |
|
|
|
|
|
|
|
|
|
|
|
before_script: |
|
|
|
before_script: |
|
|
|
- bundle exec rails db:create db:schema:load |
|
|
|
- bundle exec rake parallel:create parallel:load_schema parallel:prepare |
|
|
|
- bundle exec rails assets:precompile |
|
|
|
- bundle exec rails assets:precompile |
|
|
|
|
|
|
|
|
|
|
|
script: |
|
|
|
script: |
|
|
|
- bundle exec rspec |
|
|
|
- bundle exec parallel_test spec/ --group-by filesize --type rspec |
|
|
|
- npm test |
|
|
|
- npm test |
|
|
|
- i18n-tasks unused |
|
|
|
- i18n-tasks unused |
|
|
|