mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
try to make travis run more stuff at the same time
This commit is contained in:
12
.travis.yml
12
.travis.yml
@@ -5,8 +5,10 @@ env:
|
|||||||
- DISCOURSE_HOSTNAME=www.example.com
|
- DISCOURSE_HOSTNAME=www.example.com
|
||||||
- RUBY_GC_MALLOC_LIMIT=50000000
|
- RUBY_GC_MALLOC_LIMIT=50000000
|
||||||
matrix:
|
matrix:
|
||||||
- "RAILS_MASTER=0"
|
- "RAILS_MASTER=0 QUNIT_RUN=0"
|
||||||
- "RAILS_MASTER=1"
|
- "RAILS_MASTER=1 QUNIT_RUN=0"
|
||||||
|
- "RAILS_MASTER=0 QUNIT_RUN=1"
|
||||||
|
- "RAILS_MASTER=1 QUNIT_RUN=1"
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
postgresql: 9.5
|
postgresql: 9.5
|
||||||
@@ -19,8 +21,8 @@ addons:
|
|||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- env: "RAILS_MASTER=1"
|
- env: "RAILS_MASTER=1 QUNIT_RUN=0"
|
||||||
- rvm: rbx-2
|
- env: "RAILS_MASTER=1 QUNIT_RUN=1"
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
|
|
||||||
rvm:
|
rvm:
|
||||||
@@ -58,4 +60,4 @@ install:
|
|||||||
- bash -c "if [ '$RAILS_MASTER' == '1' ]; then bundle update --retry=3 --jobs=3 arel rails seed-fu; fi"
|
- bash -c "if [ '$RAILS_MASTER' == '1' ]; then bundle update --retry=3 --jobs=3 arel rails seed-fu; fi"
|
||||||
- bash -c "if [ '$RAILS_MASTER' == '0' ]; then bundle install --without development --deployment --retry=3 --jobs=3; fi"
|
- bash -c "if [ '$RAILS_MASTER' == '0' ]; then bundle install --without development --deployment --retry=3 --jobs=3; fi"
|
||||||
|
|
||||||
script: "bundle exec rspec && bundle exec rake plugin:spec && bundle exec rake qunit:test['200000']"
|
script: bash -c "if [ '$QUNIT_RUN' == '0' ]; then bundle exec rspec && bundle exec rake plugin:spec; else bundle exec rake qunit:test['200000']; fi"
|
||||||
|
|||||||
Reference in New Issue
Block a user