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.
 
 
 
 

43 lines
728 B

  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. - CXX=g++-4.8
  13. addons:
  14. postgresql: 9.4
  15. rvm:
  16. - 2.4.1
  17. services:
  18. - redis-server
  19. bundler_args: --without development production --retry=3 --jobs=3
  20. before_install:
  21. - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
  22. - sudo apt-get -qq update
  23. - sudo apt-get -qq install g++-4.8
  24. install:
  25. - nvm install $TRAVIS_NODE_VERSION
  26. - npm install -g npm@3
  27. - npm install -g yarn
  28. - bundle install
  29. - yarn install
  30. before_script:
  31. - bundle exec rails db:create db:migrate
  32. script:
  33. - bundle exec rspec
  34. - npm test