Add travis.yml

This commit is contained in:
richie 2016-10-11 22:01:10 -07:00
parent fa8d42b37b
commit 02a15d131c
4 changed files with 16 additions and 0 deletions

9
.travis.yml Normal file
View 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

View File

@ -29,6 +29,7 @@ echo ''
echo '##### test-app #####'
cd $ROOT_PATH/test-app
bundle exec rake db:setup
bundle exec rspec
# Cleanup

Binary file not shown.

View File

@ -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
Connecting to database specified by database.yml
 (0.5ms) select sqlite_version(*)
 (1.9ms) DROP TABLE "blogs"
 (0.9ms) CREATE TABLE "blogs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
 (0.3ms) SELECT version FROM "schema_migrations"
 (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"