28 строки
2.2 KiB
YAML
28 строки
2.2 KiB
YAML
language: node_js
|
|
before_install:
|
|
# See https://github.com/travis-ci/travis-ci/issues/5092#issuecomment-171777646
|
|
# Dirty hack for https://github.com/travis-ci/travis-ci/issues/5092
|
|
- >
|
|
PATH=`echo $PATH | sed "s/\.\/node_modules\/\.bin//g"`;
|
|
export PATH=$PATH:./node_modules/.bin;
|
|
touch .env;
|
|
if [ $IS_INTEGRATION_TEST ]; then rvm install ruby-2.3.0 --binary && rvm use ruby-2.3.0 && bundle install; else echo "Not an integration test. Skipping Ruby setup"; fi
|
|
script: npm run $TEST
|
|
addons:
|
|
sauce_connect: true
|
|
notifications:
|
|
email: false
|
|
slack:
|
|
on_success: change
|
|
on_failure: always
|
|
env:
|
|
matrix:
|
|
- TEST="lint"
|
|
- TEST="test:unit"
|
|
- TEST="test:integration" PLATFORM="desktop" IS_INTEGRATION_TEST=true
|
|
# iOS tests on Travis are flaky. Run these manually before merging something in
|
|
# - TEST="test:integration" PLATFORM="ios" IS_INTEGRATION_TEST=true
|
|
global:
|
|
- secure: SvjZyrdqFJBWCgduVObookkrTLIer/OF4yILB5uy5DuzDT52vmUGLKWj1Zjevy6PKdoZ3QPdrbrEn8tIRuiiTCbBTi9X3X8cQjVHN1Jxq1w/TIUiCxg1Wt+M+FnS2EamLMo2BFEsCM5qXrLwUd23uLXxMRJKDikBvaq1Lgib+S3CDhROORgEtnZeXXd328NiUNriDadhnC7kTACZ16Urt9ZrTJrXwQLujNJlO/zVxB0dBTV8Hzjp/Qce/D3XFg943xeHj7UuffF9ntcJqGEImY226VVWwk3D78j9zpfOXCIBJD/h/uls77eZzSi/9o2voVqfWHGuuKoRfVC8772kuWoe95Fm8ntFUbEWutDnfhs7aMqSW4rYMbFUSMqf6qBGWse07clk6zx0cZpsC1vscf3QSDQu/joj8ohX6+1Qn4gd+1/Rp3WjLBdWUcTfcODLspahwXZ5xnkzU04m46eO23E++U6WYD22xJnHZVsWHM+aGcDRQYFg07mnzOQwS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