forked from ruby-china/homeland
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:ruby-china/ruby-china
- Loading branch information
Showing
49 changed files
with
5,074 additions
and
158 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,3 +28,4 @@ solr/data/ | |
solr/pids/ | ||
bin/ | ||
tags | ||
chromedriver.log |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,41 @@ | ||
language: ruby | ||
bundler_args: --without development | ||
|
||
rvm: | ||
- 1.9.2 | ||
- 1.9.3 | ||
- jruby | ||
- rbx | ||
- ree | ||
before_install: | ||
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16" | ||
- "export DISPLAY=:99.0" | ||
- "export JASMINE_BROWSER=firefox" | ||
|
||
services: | ||
- mongodb | ||
- redis-server | ||
|
||
matrix: | ||
include: | ||
- rvm: 1.9.3 | ||
- rvm: ruby-head | ||
- rvm: jruby-19mode | ||
jdk: openjdk7 | ||
env: JRUBY_OPTS="-Xmx512m -Xcompile.invokedynamic=false" | ||
- rvm: jruby-head | ||
jdk: openjdk7 | ||
env: JRUBY_OPTS="-Xcompile.invokedynamic=false" | ||
allow_failures: | ||
- rvm: jruby | ||
- rvm: rbx | ||
- rvm: ree | ||
- rvm: ruby-head | ||
- rvm: jruby-19mode | ||
jdk: openjdk7 | ||
env: JRUBY_OPTS="-Xmx512m -Xcompile.invokedynamic=false" | ||
- rvm: jruby-head | ||
jdk: openjdk7 | ||
env: JRUBY_OPTS="-Xcompile.invokedynamic=false" | ||
|
||
before_script: | ||
- mongo ruby_china_test --eval 'db.addUser("travis", "test");' | ||
- cp config/config.yml.default config/config.yml | ||
- cp config/mongoid.yml.default config/mongoid.yml | ||
- cp config/redis.yml.default config/redis.yml | ||
- cp config/redis.yml.default config/redis.yml | ||
- sed -i "s/SETUP_DEVELOPMENT_HOST/127.0.0.1:27017/g" config/mongoid.yml | ||
- sed -i "s/SETUP_REDIS_HOST/127.0.0.1/g" config/redis.yml | ||
- sed -i "s/SETUP_REDIS_PORT/6379/g" config/redis.yml | ||
|
||
script: bundle exec rake spec jasmine:ci |
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
Oops, something went wrong.