Skip to content

Commit

Permalink
Adding docker build to travis pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
alaxalves committed Jun 6, 2019
1 parent 12d6e83 commit 7bb0e3c
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ rvm:

services:
- mysql
- docker

install:
- cp config/database.yml.example config/database.yml
Expand All @@ -18,14 +19,15 @@ env:
- CI=true
- TRAVIS=true
matrix:
- TASK="rake test:unit"
- TASK="rake test:integration"
- TASK="rake test:functional"
- TASK="rake assets:precompile"
- TASK="rubocop"
- TASK="bundle exec rake test:unit"
- TASK="bundle exec rake test:integration"
- TASK="bundle exec rake test:functional"
- TASK="bundle exec rake assets:precompile"
- TASK="bundle exec rubocop"
- TASK="docker build -t mapknitter ."

script:
- bundle exec $TASK
- $TASK

branches:
only:
Expand Down

0 comments on commit 7bb0e3c

Please sign in to comment.