From a387211847a71b48cb23127fd5980e1419a2dd1b Mon Sep 17 00:00:00 2001 From: Sam Holst Date: Thu, 5 Sep 2019 16:05:13 -0700 Subject: [PATCH] added tests to travis.yml --- .travis.yml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index a7f25a9..d0fcabd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,12 +3,15 @@ language: ruby rvm: - "2.5.1" -before_script: - - "cd test/user && bundle install && rails db:create db:migrate" - - "cd ../.." - - "cd test/employee && bundle install && rails db:create db:migrate" - script: - - "cd test/user && bundle exec rails test" - - "cd ../.." - - "cd test/employee && bundle exec rails test" + - "cd test/user" + - "bundle install" + - "rake db:create" + - "rake db:migrate" + - "bundle exec rake test" + - "cd .." + - "cd employee" + - "bundle install" + - "rake db:create" + - "rake db:migrate" + - "bundle exec rake test"