Skip to content

Commit

Permalink
Merge pull request #1273 from scottsds/issue_3702_add_rspec_to_travis
Browse files Browse the repository at this point in the history
Adding specs to the tests run on Travis-CI
  • Loading branch information
shalott committed Feb 25, 2014
2 parents b0218ed + 22ef673 commit e883111
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .travis.yml
@@ -1,12 +1,14 @@
language: ruby
env:
- TEST_GROUP=importing
- TEST_GROUP=gift_exchanges
- TEST_GROUP=prompt_memes
- TEST_GROUP=collections
- TEST_GROUP=users
- TEST_GROUP=works
- TEST_GROUP=tags_and_wrangling
- TEST_GROUP=other
- TEST_GROUP="rspec spec"
- TEST_GROUP="cucumber -f progress -r features features/importing"
- TEST_GROUP="cucumber -f progress -r features features/prompt_memes"
- TEST_GROUP="cucumber -f progress -r features features/gift_exchanges"
- TEST_GROUP="cucumber -f progress -r features features/collections"
- TEST_GROUP="cucumber -f progress -r features features/users"
- TEST_GROUP="cucumber -f progress -r features features/works"
- TEST_GROUP="cucumber -f progress -r features features/tags_and_wrangling"
- TEST_GROUP="cucumber -f progress -r features features/other"
rvm:
- "1.9.3"
services:
Expand All @@ -17,7 +19,7 @@ script:
- bundle exec rake db:create:all --trace
- bundle exec rake db:schema:load --trace
- RAILS_ENV=test bundle exec rake db:migrate --trace
- bundle exec cucumber -f progress -r features features/$TEST_GROUP -b
- bundle exec $TEST_GROUP
before_script:
- mysql -e 'create database otwarchive_test;'
- cp config/database.travis.yml config/database.yml
Expand Down

0 comments on commit e883111

Please sign in to comment.