Use travis sauce connect addon
This commit is contained in:
parent
86be5d3580
commit
e1d61c4143
@ -3,6 +3,8 @@ language: ruby
|
|||||||
cache: bundler
|
cache: bundler
|
||||||
rvm: 1.9.3
|
rvm: 1.9.3
|
||||||
before_install: npm install
|
before_install: npm install
|
||||||
|
addons:
|
||||||
|
sauce_connect: true
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
- USE_SAUCE=true
|
- USE_SAUCE=true
|
||||||
|
@ -2,10 +2,8 @@
|
|||||||
|
|
||||||
if [ $USE_SAUCE == true ]
|
if [ $USE_SAUCE == true ]
|
||||||
then
|
then
|
||||||
if [ $TRAVIS_SECURE_ENV_VARS == true ]
|
if [ $TRAVIS_SECURE_ENV_VARS != true ]
|
||||||
then
|
then
|
||||||
curl -L https://gist.github.com/santiycr/5139565/raw/sauce_connect_setup.sh | bash
|
|
||||||
else
|
|
||||||
echo "skipping tests since we can't use sauce"
|
echo "skipping tests since we can't use sauce"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user