More tweaks to travis/ci scripts

This commit is contained in:
richie 2016-10-11 22:17:21 -07:00
parent b503e0c74b
commit f8df35d338
4 changed files with 3 additions and 4 deletions

2
.gitignore vendored
View File

@ -1,4 +1,4 @@
**/*/tmp **/*/tmp
**/*/log **/*/log
**/*/*.gem **/*/*.gem
**.*/*.sqlite **.*/*.sqlite3

View File

@ -6,4 +6,5 @@ env:
- "RAILS_VERSION=4.2.0" - "RAILS_VERSION=4.2.0"
- "RAILS_VERSION=5.0.0" - "RAILS_VERSION=5.0.0"
cache: bundler cache: bundler
install: bundle install
script: ./ci/test.sh script: ./ci/test.sh

View File

@ -3,8 +3,6 @@
ROOT_PATH=$PWD ROOT_PATH=$PWD
set -e # abort if anything fails set -e # abort if anything fails
bundle check || bundle
echo '####################' echo '####################'
echo 'Unit Tests' echo 'Unit Tests'
echo '####################' echo '####################'
@ -29,7 +27,7 @@ echo ''
echo '##### test-app #####' echo '##### test-app #####'
cd $ROOT_PATH/test-app cd $ROOT_PATH/test-app
bundle exec rake db:setup bundle exec rake db:migrate db:test:prepare
bundle exec rspec bundle exec rspec
# Cleanup # Cleanup

Binary file not shown.