Skip to content

Commit

Permalink
travis: separate the different checks
Browse files Browse the repository at this point in the history
Until now, we are just running the default rake tasks which would do a
syntaxcheck and also run any tests that rspec found. Instead of that,
lets separate those into different travis jobs to have more visibility
in case of failure.

Also it enhances the rspec tests by setting the output format to a nicer
way for easy checking and tags the travis builds by using the
environment variables to give the jobs a easy visual distiction ont he
travis page.

(cherry picked from commit 269c32d)
  • Loading branch information
Itxaka committed Aug 25, 2017
1 parent 0281457 commit 50b144b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions .rspec
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--format documentation --color
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,12 @@ cache: bundler
dist: trusty

rvm: 2.1.9

matrix:
include:
- env: SYNTAXCHECK
script:
- bundle exec rake syntaxcheck
- env: SPEC_TESTS
script:
- bundle exec rake spec

0 comments on commit 50b144b

Please sign in to comment.