Commit 056fe28

mo <mo.khan@gmail.com>
2018-02-16 23:19:26
fix warning and optimize gem install.
1 parent dfd3afc
Changed files (2)
bin/cibuild
@@ -12,12 +12,12 @@ date "+%H:%M:%S"
 
 # GC customizations
 export RUBY_GC_MALLOC_LIMIT=79000000
-export RUBY_HEAP_MIN_SLOTS=800000
+export RUBY_GC_HEAP_INIT_SLOTS=800000
 export RUBY_HEAP_FREE_MIN=100000
 export RUBY_HEAP_SLOTS_INCREMENT=400000
 export RUBY_HEAP_SLOTS_GROWTH_FACTOR=1
 
-gem install bundler --no-ri --no-rdoc
+gem install bundler --no-ri --no-rdoc --conservative
 # run tests
 ruby -v
 bin/test
bin/setup
@@ -3,6 +3,6 @@ set -euo pipefail
 IFS=$'\n\t'
 set -vx
 
-bundle install
+bundle check || bundle install
 
 # Do any other automated setup that you need to do here