script/spec in rails-prg-0.1.0 vs script/spec in rails-prg-0.1.1
- old
+ new
@@ -1,6 +1,6 @@
-#!/bin/sh -xe
+#!/bin/bash -xe
# Install packages.
bundle --quiet --binstubs
DUMMY_APP_PATH="spec/dummy"
@@ -17,6 +17,12 @@
export CHECK_SPEC_COVERAGE=${CHECK_SPEC_COVERAGE:-false}
COVERAGE_GROUP="unit-tests" bin/rake "spec:unit"
COVERAGE_GROUP="firefox-features" BROWSER=firefox bin/rake "spec:features"
COVERAGE_GROUP="chrome-features" BROWSER=chrome bin/rake "spec:features"
+
+if [ ! -z "$USE_SAUCE" ]; then
+COVERAGE_GROUP="safari-features" BROWSER=safari bin/rake "spec:features"
+COVERAGE_GROUP="ie8-features" BROWSER=ie8 bin/rake "spec:features"
+fi
+
bin/rake "spec:quality"