Split features into separate travis job

This commit is contained in:
James Mason 2017-10-19 12:26:53 -07:00
parent 33ccef59d5
commit cccbdb2120
No known key found for this signature in database
GPG key ID: 1B3951886C449023
2 changed files with 6 additions and 2 deletions

View file

@ -26,7 +26,8 @@ before_script:
script:
- "./travis_script.sh $TEST_SUITE"
env:
- TEST_SUITE=rspec
- TEST_SUITE=linters
- TEST_SUITE=rspec
- TEST_SUITE=features
matrix:
fast_finish: true

View file

@ -17,7 +17,10 @@ case $TEST_SUITE in
bundle exec haml-lint app/views
;;
rspec)
bundle exec rspec --color --format documentation
bundle exec rspec --color --format documentation --exclude-pattern "spec/features/*_spec.rb"
;;
features)
bundle exec rspec --color --format documentation spec/features/*_spec.rb
;;
*)
bundle exec rubocop -Dc .rubocop.yml