Move build script to bash

/cc #1145
This commit is contained in:
Zachary Scott 2016-07-23 12:41:22 +09:00
parent 71eda26419
commit d17ff10167
2 changed files with 11 additions and 3 deletions

10
.travis.sh Executable file
View File

@ -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

View File

@ -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