Skip to content

Commit

Permalink
added tests to travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Holst committed Sep 5, 2019
1 parent 5e52dd5 commit a387211
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit a387211

Please sign in to comment.