forked from impactdialing/impactdialing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
44 lines (42 loc) · 1.38 KB
/
circle.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
machine:
ruby:
version:
2.2.4
dependencies:
post:
- wget https://saucelabs.com/downloads/sc-4.3.13-linux.tar.gz
- tar -xzf sc-4.3.13-linux.tar.gz
- mv ./sc-4.3.13-linux $HOME/sc-bin
test:
override:
- DISABLE_SPRING=1 bundle exec rspec --tag ~cell_lists --format RspecJunitFormatter --out $CIRCLE_TEST_REPORTS/specs/results$TEST_ENV_NUMBER.xml:
parallel: true
files:
- spec/**/*_spec.rb
- $HOME/sc-bin/bin/sc -vv --logfile $CIRCLE_TEST_REPORTS/sc.log --user $SAUCE_USERNAME --api-key $SAUCE_ACCESS_KEY --readyfile ~/hot-sauce:
background: true
parallel: true
- while [ ! -e ~/hot-sauce ]; do sleep 1; done:
parallel: true
#- USE_SAUCE='ie9' bin/parallel_features:
# parallel: true
# files:
# - spec/features/customer_admin/campaigns/*
#- sleep 2:
# parallel: true
#- USE_SAUCE='ie10' bin/parallel_features:
# parallel: true
# files:
# - spec/features/customer_admin/campaigns/*
#- sleep 2:
# parallel: true
- USE_SAUCE='ie11' bin/parallel_features:
parallel: true
files:
- features/**/*_spec.rb
#- USE_SAUCE='wch' bin/parallel_features:
# parallel: true
# files:
# - spec/features/customer_admin/campaigns/*
post:
- killall --wait sc # wait for Sauce Connect to close the tunnel