we export DISPLAY, no need to use export, we already export RAILS_ENV, use --deployment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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