Skip to content

Instantly share code, notes, and snippets.

@lorgio
Created September 30, 2013 20:59
Show Gist options
  • Save lorgio/6770177 to your computer and use it in GitHub Desktop.
Save lorgio/6770177 to your computer and use it in GitHub Desktop.
language: ruby
bundler_args: --without development --quiet --path=~/.bundle
rvm:
- 2.0.0
services:
- elasticsearch
before_install:
- chmod -R 777 ./script/travis
- 'echo ''gem: --no-ri --no-rdoc'' > ~/.gemrc'
- ./script/travis/bundle_install.sh
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
before_script: ./script/travis/setup_db.sh
script: bundle exec rspec spec/ --tag $TEST_TAG
after_script: ruby script/travis/bundle_cache.rb
env:
- TEST_TAG=js
- TEST_TAG=~js
env:
global:
- TZ="/usr/share/zoneinfo/EST5EDT"
- export RUBY_GC_MALLOC_LIMIT=90000000
- export RUBY_FREE_MIN=200000
- export RUBY_HEAP_MIN_SLOTS=40000
- BUNDLE_ARCHIVE="bundle"
- AWS_S3_REGION="us-east-1"
- AWS_S3_BUCKET="ci_bundle"
- RAILS_ENV=test
- secure: rBXFpZh
branches:
only:
- master
- /\d\.\d\.\d\-\w*/
- new_writer_onboarding_master
- new_writer_onboarding_master_travis
- speedy-gonzalez
- testing-test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment