闭社主体 forked from https://github.com/tootsuite/mastodon
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.

40 lines
620 B

8 years ago
  1. language: ruby
  2. cache: bundler
  3. notifications:
  4. email: false
  5. env:
  6. matrix:
  7. - TRAVIS_NODE_VERSION="4"
  8. global:
  9. - LOCAL_DOMAIN=cb6e6126.ngrok.io
  10. - LOCAL_HTTPS=true
  11. - RAILS_ENV=test
  12. - NEO4J_HOST=localhost
  13. - NEO4J_PORT=7575
  14. addons:
  15. postgresql: 9.4
  16. rvm:
  17. - 2.3.1
  18. services:
  19. - redis-server
  20. bundler_args: --without development production --retry=3 --jobs=3
  21. install:
  22. - nvm install $TRAVIS_NODE_VERSION
  23. - npm install -g npm@3
  24. - npm install -g yarn
  25. - bundle install
  26. - yarn install
  27. before_script:
  28. - bundle exec rails db:create db:migrate
  29. script:
  30. - bundle exec rspec
  31. - npm test