This repository was archived by the owner on Nov 1, 2017. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +13
-6
lines changed
Expand file tree Collapse file tree 3 files changed +13
-6
lines changed Original file line number Diff line number Diff line change 11language : ruby
22rvm :
33 - 2.2.3
4- before_script :
5- - script/bootstrap
6- - sh -e /etc/init.d/xvfb start
7- cache : bundler
4+ cache :
5+ directories :
6+ - vendor/bundle
7+ - node_modules
88sudo : false
99git :
1010 depth : 10
11+ script :
12+ - npm install
13+ - script/cibuild
Original file line number Diff line number Diff line change @@ -21,6 +21,8 @@ export RBENV_VERSION="2.2.3"
2121export RUBYLIB=
2222export RUBYOPT=
2323
24+ export CI=" true"
25+
2426if [ -d /usr/local/share/nodenv ]; then
2527 export NODENV_ROOT=/usr/local/share/nodenv
2628 export PATH=/usr/local/share/nodenv/bin:/usr/local/share/nodenv/shims:$PATH
Original file line number Diff line number Diff line change @@ -13,11 +13,13 @@ export RACK_ROOT=$(cd "$(dirname $0)"/.. && pwd)
1313
1414export RAILS_ENV=" test" RACK_ENV=" test"
1515
16- script/bootstrap
16+ if [ -z " $TRAVIS " ]; then
17+ script/bootstrap
18+ fi
1719
1820echo " ===> Running tests..."
1921
20- if [ -n " $JANKY_ID " ]; then
22+ if [ -n " $CI " ]; then
2123 xvfb-run -a bundle exec rake test
2224else
2325 bundle exec rake test
You can’t perform that action at this time.
0 commit comments