From d17ff101678bf57db8e98b60b90f2d52b5d07e37 Mon Sep 17 00:00:00 2001 From: Zachary Scott Date: Sat, 23 Jul 2016 12:41:22 +0900 Subject: [PATCH] Move build script to bash /cc #1145 --- .travis.sh | 10 ++++++++++ .travis.yml | 4 +--- 2 files changed, 11 insertions(+), 3 deletions(-) create mode 100755 .travis.sh diff --git a/.travis.sh b/.travis.sh new file mode 100755 index 00000000..6e114645 --- /dev/null +++ b/.travis.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +echo "Running sinatra tests..." +bundle install --jobs=3 --retry=3 +bundle exec rake + +echo "Running sinatra-contrib tests..." +cd sinatra-contrib +bundle install --jobs=3 --retry=3 +bundle exec rake diff --git a/.travis.yml b/.travis.yml index 948e6a29..d684c4ec 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,9 +24,7 @@ rvm: - jruby-9.1.0.0 - jruby-head -script: - - bundle exec rake - - cd sinatra-contrib && bundle install --jobs=3 --retry=3 && bundle exec rake +script: .travis.sh sudo: false