mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-22 22:06:43 +00:00
More tweaks to travis/ci scripts
This commit is contained in:
parent
b503e0c74b
commit
f8df35d338
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,4 +1,4 @@
|
||||
**/*/tmp
|
||||
**/*/log
|
||||
**/*/*.gem
|
||||
**.*/*.sqlite
|
||||
**.*/*.sqlite3
|
||||
|
||||
@ -6,4 +6,5 @@ env:
|
||||
- "RAILS_VERSION=4.2.0"
|
||||
- "RAILS_VERSION=5.0.0"
|
||||
cache: bundler
|
||||
install: bundle install
|
||||
script: ./ci/test.sh
|
||||
|
||||
@ -3,8 +3,6 @@
|
||||
ROOT_PATH=$PWD
|
||||
set -e # abort if anything fails
|
||||
|
||||
bundle check || bundle
|
||||
|
||||
echo '####################'
|
||||
echo 'Unit Tests'
|
||||
echo '####################'
|
||||
@ -29,7 +27,7 @@ echo ''
|
||||
|
||||
echo '##### test-app #####'
|
||||
cd $ROOT_PATH/test-app
|
||||
bundle exec rake db:setup
|
||||
bundle exec rake db:migrate db:test:prepare
|
||||
bundle exec rspec
|
||||
|
||||
# Cleanup
|
||||
|
||||
Binary file not shown.
Loading…
Reference in New Issue
Block a user