mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-22 22:06:43 +00:00
Add travis.yml
This commit is contained in:
parent
fa8d42b37b
commit
02a15d131c
9
.travis.yml
Normal file
9
.travis.yml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
nguage: ruby
|
||||||
|
rvm:
|
||||||
|
- 2.2.5
|
||||||
|
env:
|
||||||
|
- "RAILS_VERSION=3.2.0"
|
||||||
|
- "RAILS_VERSION=4.2.0"
|
||||||
|
- "RAILS_VERSION=5.0.0"
|
||||||
|
cache: bundler
|
||||||
|
script: ./ci/test.sh
|
||||||
@ -29,6 +29,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 rspec
|
bundle exec rspec
|
||||||
|
|
||||||
# Cleanup
|
# Cleanup
|
||||||
|
|||||||
Binary file not shown.
@ -8288,3 +8288,9 @@ Served asset /swagger-ui/css/print.css - 304 Not Modified (3ms)
|
|||||||
|
|
||||||
|
|
||||||
Started GET "/api-docs/v1/swagger.json" for 127.0.0.1 at 2016-10-10 17:40:13 -0700
|
Started GET "/api-docs/v1/swagger.json" for 127.0.0.1 at 2016-10-10 17:40:13 -0700
|
||||||
|
Connecting to database specified by database.yml
|
||||||
|
[1m[36m (0.5ms)[0m [1mselect sqlite_version(*)[0m
|
||||||
|
[1m[35m (1.9ms)[0m DROP TABLE "blogs"
|
||||||
|
[1m[36m (0.9ms)[0m [1mCREATE TABLE "blogs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
||||||
|
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
||||||
|
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user