Skip to content

Instantly share code, notes, and snippets.

@joshk joshk/content-travis

forked from lorgio/content-travis
Last active Dec 24, 2015
Embed
What would you like to do?
we export DISPLAY, no need to use export, we already export RAILS_ENV, use --deployment
language: ruby
rvm: 2.0.0
bundler_args: --without development --quiet --path=~/.bundle --deployment
services:
- elasticsearch
before_install:
- chmod -R 777 ./script/travis
- 'echo ''gem: --no-ri --no-rdoc'' > ~/.gemrc'
- ./script/travis/bundle_install.sh
- "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:
matrix:
- TEST_TAG=js
- TEST_TAG=~js
global:
- TZ="/usr/share/zoneinfo/EST5EDT"
- RUBY_GC_MALLOC_LIMIT=90000000
- RUBY_FREE_MIN=200000
- RUBY_HEAP_MIN_SLOTS=40000
- BUNDLE_ARCHIVE="bundle"
- AWS_S3_REGION="us-east-1"
- AWS_S3_BUCKET="ci_bundle"
- 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
You can’t perform that action at this time.