diff --git a/.travis.yml b/.travis.yml index fef3d7c9c..830be1748 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,47 +5,29 @@ node_js: - "0.10" env: global: - - BIN="node" BUILD="compat" COMPAT=false ISTANBUL=false OPTION="" SAUCE_LABS=false SAUCE_USERNAME="lodash" + - BIN="node" BUILD="compat" ISTANBUL=false OPTION="" SAUCE_LABS=false SAUCE_USERNAME="lodash" - secure: "tg1JFsIFnxzLaTboFPOnm+aJCuMm5+JdhLlESlqg9x3fwro++7KCnwHKLNovhchaPe4otC43ZMB/nfWhDnDm11dKbm/V6HlTkED+dadTsaLxVDg6J+7yK41QhokBPJOxLV78iDaNaAQVYEirAgZ0yn8kFubxmNKV+bpCGQNc9yU=" matrix: - BUILD="compat" - BUILD="modern" - - BUILD="legacy" - - BUILD="mobile" matrix: include: - node_js: "0.10" env: ISTANBUL=true BUILD="modern" - node_js: "0.10" env: BIN="phantomjs" BUILD="compat" - - node_js: "0.10" - env: BIN="phantomjs" BUILD="legacy" - - node_js: "0.10" - env: BIN="phantomjs" BUILD="mobile" - node_js: "0.10" env: BIN="narwhal" BUILD="compat" - - node_js: "0.10" - env: BIN="narwhal" BUILD="legacy" - node_js: "0.10" env: BIN="rhino" BUILD="compat" - - node_js: "0.10" - env: BIN="rhino" BUILD="legacy" - node_js: "0.10" env: BIN="rhino" BUILD="compat" OPTION="-require" - - node_js: "0.10" - env: BIN="rhino" BUILD="legacy" OPTION="-require" - node_js: "0.10" env: BIN="ringo" BUILD="compat" - - node_js: "0.10" - env: BIN="ringo" BUILD="legacy" - node_js: "0.10" env: SAUCE_LABS=true BUILD="compat" - node_js: "0.10" env: SAUCE_LABS=true BUILD="modern" - - node_js: "0.10" - env: SAUCE_LABS=true BUILD="legacy" - - node_js: "0.10" - env: SAUCE_LABS=true BUILD="mobile" - node_js: "0.10" env: SAUCE_LABS=true BUILD="underscore" git: @@ -54,7 +36,6 @@ branches: only: - master before_install: - - "([ $BUILD == 'compat' ] || [ $BUILD == 'legacy' ]) && COMPAT=true || true" - "[ $SAUCE_LABS == false ] || npm i ecstatic@\"~0.4.0\" request@\"~2.33.0\" sauce-tunnel@\"~1.1.0\"" - "[ $ISTANBUL == false ] || (npm i -g coveralls@\"~2.6.0\" && npm i istanbul@\"~0.2.0\")" - "[ $BIN != 'narwhal' ] || (wget https://github.com/280north/narwhal/archive/v0.3.2.zip && sudo unzip v0.3.2 -d /opt/ && rm v0.3.2.zip)" @@ -73,9 +54,9 @@ script: - "([ $SAUCE_LABS == true ] || [ $ISTANBUL == true ]) || $BIN $OPTION ./test.js ../dist/lodash.$BUILD.js" - "([ $SAUCE_LABS == true ] || [ $ISTANBUL == true ]) || $BIN $OPTION ./test.js ../dist/lodash.$BUILD.min.js" - "([ $SAUCE_LABS == false ] || [ $BUILD == 'underscore' ]) || $BIN ./test/saucelabs.js runner=\"test/index.html?build=../dist/lodash.$BUILD.min.js\" tags=\"$BUILD,production\"" - - "([ $SAUCE_LABS == false ] || [ $COMPAT == false ]) || $BIN ./test/saucelabs.js runner=\"test/index.html?build=../dist/lodash.$BUILD.min.js\" tags=\"$BUILD,production,ie-compat\" compatMode=7" + - "([ $SAUCE_LABS == false ] || [ $BUILD != 'compat' ]) || $BIN ./test/saucelabs.js runner=\"test/index.html?build=../dist/lodash.$BUILD.min.js\" tags=\"$BUILD,production,ie-compat\" compatMode=7" - "([ $SAUCE_LABS == false ] || [ $BUILD == 'underscore' ]) || $BIN ./test/saucelabs.js runner=\"test/index.html?build=../dist/lodash.$BUILD.js\" tags=\"$BUILD,development\"" - - "([ $SAUCE_LABS == false ] || [ $COMPAT == false ]) || $BIN ./test/saucelabs.js runner=\"test/index.html?build=../dist/lodash.$BUILD.js\" tags=\"$BUILD,development,ie-compat\" compatMode=7" + - "([ $SAUCE_LABS == false ] || [ $BUILD != 'compat' ]) || $BIN ./test/saucelabs.js runner=\"test/index.html?build=../dist/lodash.$BUILD.js\" tags=\"$BUILD,development,ie-compat\" compatMode=7" - "[ $SAUCE_LABS == false ] || $BIN ./test/saucelabs.js name=\"backbone tests\" runner=\"test/backbone.html?build=../dist/lodash.$BUILD.min.js\" tags=\"$BUILD,production,backbone\"" - "[ $SAUCE_LABS == false ] || $BIN ./test/saucelabs.js name=\"backbone tests\" runner=\"test/backbone.html?build=../dist/lodash.$BUILD.js\" tags=\"$BUILD,development,backbone\"" - "[ $SAUCE_LABS == false ] || $BIN ./test/saucelabs.js name=\"underscore tests\" runner=\"test/underscore.html?build=../dist/lodash.$BUILD.min.js\" tags=\"$BUILD,production,underscore\""