forked from otwcode/otwarchive
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
46 lines (46 loc) · 1.72 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
language: ruby
cache: bundler
sudo: required
env:
- TEST_GROUP="./script/check_syntax"
- TEST_GROUP="rspec spec"
- TEST_GROUP="cucumber -f progress -r features features/admins"
- TEST_GROUP="cucumber -f progress -r features features/bookmarks"
- TEST_GROUP="cucumber -f progress -r features features/collections"
- TEST_GROUP="cucumber -f progress -r features features/comments_and_kudos"
- TEST_GROUP="cucumber -f progress -r features features/gift_exchanges"
- TEST_GROUP="cucumber -f progress -r features features/importing"
- TEST_GROUP="cucumber -f progress -r features features/other_a"
- TEST_GROUP="cucumber -f progress -r features features/other_b"
- TEST_GROUP="cucumber -f progress -r features features/prompt_memes_a"
- TEST_GROUP="cucumber -f progress -r features features/prompt_memes_b"
- TEST_GROUP="cucumber -f progress -r features features/prompt_memes_c"
- TEST_GROUP="cucumber -f progress -r features features/tags_and_wrangling"
- TEST_GROUP="cucumber -f progress -r features features/users"
- TEST_GROUP="cucumber -f progress -r features features/works"
rvm:
- "2.2.5"
services:
- elasticsearch
- redis-server
- memcached
script:
- rm -f structure.sql
- RAILS_ENV=test bundle exec rake db:create:all --trace
- RAILS_ENV=test bundle exec rake db:schema:load --trace
- RAILS_ENV=test bundle exec rake db:migrate --trace
- travis_retry bundle exec $TEST_GROUP
before_script:
- bash script/travis_configure.sh
- bash script/travis_elasticsearch_upgrade.sh
notifications:
email:
recipients:
on_success: change
on_failure: always
irc:
channels:
- "irc.freenode.org#otw-dev"
on_success: change
on_failure: change