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
|
**/*/tmp
|
||||||
**/*/log
|
**/*/log
|
||||||
**/*/*.gem
|
**/*/*.gem
|
||||||
**.*/*.sqlite
|
**.*/*.sqlite3
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
@ -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.
Loading…
Reference in New Issue
Block a user