Skip to content

Instantly share code, notes, and snippets.

@joshk
Forked from lorgio/content-travis
Last active December 24, 2015 08:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joshk/6770191 to your computer and use it in GitHub Desktop.
Save joshk/6770191 to your computer and use it in GitHub Desktop.
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