Skip to content

Commit

Permalink
ci(travis): Use test-unit task ❄️
Browse files Browse the repository at this point in the history
I've created a new task called test-unit, that tests all tests
available, except acceptance tests, since they require database manual
initialization.
  • Loading branch information
ddspog committed May 9, 2018
1 parent e1976e1 commit 03baae9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ install:
beforeScript:
- sleep 15
script:
- task test
- task test-unit
4 changes: 4 additions & 0 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ cover:
- goverage ./...
- go tool cover -html=coverage.out

test-unit:
deps: [test-connecter, test-mongo]
desc: Run all unit tests.

test:
deps: [test-connecter, test-mongo, test-acceptance]
desc: Run all tests.
Expand Down

0 comments on commit 03baae9

Please sign in to comment.