Skip to content

Commit

Permalink
Improving travis CI configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
alaxalves committed Feb 27, 2019
1 parent a43d22b commit c59753b
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@ install:
- cp config/database.yml.example config/database.yml
- cp config/config.yml.example config/config.yml
- cp db/schema.rb.example db/schema.rb
- docker-compose build
- docker-compose run web sleep 10
- docker-compose run web bash -c "rake db:setup"
- docker-compose run web bash -c "rake db:migrate"
- docker-compose run web bower install --allow-root
- docker-compose up -d --build
- docker-compose exec web bundle install
- docker-compose exec web /bin/bash -lc "rake db:setup || rake db:migrate"

script:
- docker-compose run web bash -c "rake test"
- docker-compose exec web rake test

0 comments on commit c59753b

Please sign in to comment.