"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file ".travis.yml" between
lodash-4.0.0.tar.gz and lodash-4.17.21.tar.gz

About: lodash is a modern JavaScript utility library delivering modularity, performance, & extras. Tagged version.

.travis.yml  (lodash-4.0.0):.travis.yml  (lodash-4.17.21)
language: node_js language: node_js
sudo: false sudo: false
node_js: node_js:
- "5" - 7
addons:
jwt:
secure: OYhRpW+8A0Iik+9GmHwa45ZwXeBXw/6zh6I+1w2H9g/LqPRp+Nhq3f4FSpvrrfno8lO8
W4h+7s6+JOzF8C8NxNda5UUygKjF9pUphgiQdqls3YZMJlC9zXVl7gQXAHi3nG1s8vWSpwpzYD9fqczE
1FX9n0+R63qX3eB6C/LbPeI=
cache:
directories:
- ~/.npm
- ~/.yarn-cache
- travis_phantomjs
env: env:
global: global:
- BIN="node" ISTANBUL=false OPTION="" - BIN=node ISTANBUL=false OPTION=""
- SAUCE_LABS=false SAUCE_USERNAME="lodash" - SAUCE_LABS=false SAUCE_USERNAME=lodash
- secure: "tg1JFsIFnxzLaTboFPOnm+aJCuMm5+JdhLlESlqg9x3fwro++7KCnwHKLNovhchaP
e4otC43ZMB/nfWhDnDm11dKbm/V6HlTkED+dadTsaLxVDg6J+7yK41QhokBPJOxLV78iDaNaAQVYEirA
gZ0yn8kFubxmNKV+bpCGQNc9yU="
matrix: matrix:
- -
- BIN="phantomjs" - BIN=phantomjs
- ISTANBUL=true - ISTANBUL=true
- SAUCE_LABS=true - SAUCE_LABS=true
matrix: matrix:
include: include:
- node_js: "0.10" - node_js: 6
env:
- node_js: "0.12"
env:
- node_js: "4"
env: env:
git: git:
depth: 10 depth: 10
branches: branches:
only: only:
- master - master
- 4.17
notifications: notifications:
webhooks: webhooks:
urls: urls:
- https://webhooks.gitter.im/e/4aab6358b0e9aed0b628 - https://webhooks.gitter.im/e/4aab6358b0e9aed0b628
on_success: change on_success: change
on_failure: always on_failure: always
before_install: before_install:
- "nvm use $TRAVIS_NODE_VERSION" # Upgrade PhantomJS.
- "npm config set loglevel error"
- "npm i -g npm@\"^2.0.0\""
- | - |
PATTERN[0]="|\s*if\s*\(isHostObject\b[\s\S]+?\}(?=\n)|" export PHANTOMJS_VERSION=2.1.1
PATTERN[1]="|\s*if\s*\(enumerate\b[\s\S]+?\};\s*\}|" export PATH=$PWD/travis_phantomjs/phantomjs-$PHANTOMJS_VERSION-linux-x86_6
PATTERN[2]="|\s*while\s*\([^)]+\)\s*\{\s*iteratee\(index\);\s*\}|" 4/bin:$PATH
PATTERN[3]="|\s*else\s*\{\s*assocSet\(data\b[\s\S]+?\}|" if [ $(phantomjs --version) != $PHANTOMJS_VERSION ]; then
PATTERN[4]="|\s*if\s*\(ctorString\b[\s\S]+?\}\s*\}|" rm -rf $PWD/travis_phantomjs
PATTERN[5]="|\bindex,\s*iterable\)\s*===\s*false\)[^}]+?(break;)|" mkdir -p $PWD/travis_phantomjs
PATTERN[6]="|\s*if\s*\(!lodashFunc\)\s*\{\s*return;\s*\}|" wget https://github.com/Medium/phantomjs/releases/download/v$PHANTOMJS_V
PATTERN[7]="|\s*define\([\s\S]+?\);|" ERSION/phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2
PATTERN[8]="|\s*root\._\s*=\s*_;|" tar -xvf phantomjs-$PHANTOMJS_VERSION-linux-x86_64.tar.bz2 -C $PWD/travi
s_phantomjs
fi
phantomjs -v
# Use exact Node version.
- nvm use $TRAVIS_NODE_VERSION
# Setup package managers.
- npm set loglevel error
- npm set progress false
- npm i -g yarn@0.16.1
- yarn -V
if [ $ISTANBUL == true ]; then # Remove code skipped on the coverage run.
- |
PATTERN[0]="|\s*while\s*\([^)]+\)\s*\{\s*iteratee\(index\);\s*\}|"
PATTERN[1]="|\bindex,\s*iterable\)\s*===\s*false\)[^}]+?(break;)|"
PATTERN[2]="|\bcase\s+(?:dataView|promise|set|map|weakMap)CtorString:.+|g"
PATTERN[3]="|\s*if\s*\(cache\.size\b[\s\S]+?\}|"
PATTERN[4]="|\s*if\s*\(\!lodashFunc\)\s*\{\s*return;\s*\}|"
PATTERN[5]="|\s*define\([\s\S]+?\);|"
PATTERN[6]="|\s*root\._\s*=\s*_;|"
if [ $ISTANBUL = true ]; then
set -e set -e
for PTRN in ${PATTERN[@]}; do for PTRN in ${PATTERN[@]}; do
node ./test/remove.js "$PTRN" ./lodash.js node ./test/remove.js $PTRN ./lodash.js
done done
fi fi
- "git clone --depth=10 --branch=master git://github.com/lodash/lodash-cli ./n
ode_modules/lodash-cli && mkdir $_/node_modules && cd $_ && ln -s ../../../ ./lo install:
dash && cd ../ && npm i && cd ../../" # Install packages.
- "node ./node_modules/lodash-cli/bin/lodash -o ./dist/lodash.js" - yarn
# Use lodash-cli from GitHub. Temporarily use a fork.
- git clone --depth=10 --branch=master git://github.com/bnjmnt4n/lodash-cli ./
node_modules/lodash-cli
- cd ./node_modules/lodash-cli/; npm i --production; cd ../../
- mkdir -p ./node_modules/lodash-cli/node_modules/lodash; cd $_; cp ../../../.
./lodash.js ./lodash.js; cp ../../../../package.json ./package.json; cd ../../..
/../
script: script:
- "[ $ISTANBUL == false ] || istanbul cover -x \"**/vendor/**\" --report lco # Detect code coverage.
vonly ./test/test.js -- ./lodash.js" - |
- "[ $ISTANBUL == false ] || [ $TRAVIS_SECURE_ENV_VARS == false ] || (cat ./ if [ $ISTANBUL = true ]; then
coverage/lcov.info | coveralls) || true" istanbul cover -x "**/vendor/**" --report lcovonly ./test/test.js -- ./l
- "[ $ISTANBUL == false ] || [ $TRAVIS_SECURE_ENV_VARS == false ] || (cat ./ odash.js
coverage/coverage.json | codecov) || true" if [ $TRAVIS_SECURE_ENV_VARS = true ]; then
- "[ $SAUCE_LABS == true ] || [ $ISTANBUL == true ] || cd ./test" cat ./coverage/lcov.info | coveralls
- "[ $SAUCE_LABS == true ] || [ $ISTANBUL == true ] || $BIN $OPTION ./test.js cat ./coverage/coverage.json | codecov
../lodash.js" fi
- "[ $SAUCE_LABS == true ] || [ $ISTANBUL == true ] || [ $TRAVIS_SECURE_ENV_V fi
ARS == false ] || $BIN $OPTION ./test.js ../dist/lodash.min.js"
- "[ $SAUCE_LABS == false ] || rm -rf ./node_modules/lodash" # Test in Node.js and PhantomJS.
- "[ $SAUCE_LABS == false ] || ($BIN ./node_modules/lodash-cli/bin/lodash modu - |
larize exports=node -o ./node_modules/lodash && node ./node_modules/lodash-cli/b if [ $ISTANBUL = false ]; then
in/lodash -d -o ./node_modules/lodash/index.js)" node ./node_modules/lodash-cli/bin/lodash -o ./dist/lodash.js
- "[ $SAUCE_LABS == false ] || $BIN ./node_modules/lodash-cli/bin/lodash core node ./node_modules/lodash-cli/bin/lodash modularize exports=node -o ./
-o ./dist/lodash.core.js" node ./node_modules/lodash-cli/bin/lodash -d -o ./lodash.js
- "[ $SAUCE_LABS == false ] || npm run build" if [ $SAUCE_LABS = false ]; then
- "[ $SAUCE_LABS == false ] || $BIN ./test/saucelabs.js name=\"lodash tests\" cd ./test
runner=\"test/index.html?build=../dist/lodash.js&noglobals=true\" tags=\ $BIN $OPTION ./test.js ../lodash.js
"development\"" if [ $TRAVIS_SECURE_ENV_VARS = true ]; then
- "[ $SAUCE_LABS == false ] || $BIN ./test/saucelabs.js name=\"lodash tests\" $BIN $OPTION ./test.js ../dist/lodash.min.js
runner=\"test/index.html?build=../dist/lodash.min.js&noglobals=true\" tags=\ fi
"production\"" fi
- "[ $SAUCE_LABS == false ] || $BIN ./test/saucelabs.js name=\"lodash-fp tests fi
\" runner=\"test/fp.html?noglobals=true\" tags=\
"development\"" # Test in Sauce Labs.
- "[ $SAUCE_LABS == false ] || $BIN ./test/saucelabs.js name=\"underscore test - |
s\" runner=\"test/underscore.html?build=../dist/lodash.js\" tags=\ if [ $SAUCE_LABS = true ]; then
"development,underscore\"" node ./node_modules/lodash-cli/bin/lodash core -o ./dist/lodash.core.js
- "[ $SAUCE_LABS == false ] || $BIN ./test/saucelabs.js name=\"underscore test npm run build
s\" runner=\"test/underscore.html?build=../dist/lodash.min.js\" tags=\ $BIN ./test/saucelabs.js name="lodash tests" runner="test/index.html
"production,underscore\"" ?build=../dist/lodash.js&noglobals=true" tags=development
- "[ $SAUCE_LABS == false ] || $BIN ./test/saucelabs.js name=\"backbone tests\ $BIN ./test/saucelabs.js name="lodash tests" runner="test/index.html
" runner=\"test/backbone.html?build=../dist/lodash.js\" tags=\ ?build=../dist/lodash.min.js&noglobals=true" tags=production
"development,backbone\"" $BIN ./test/saucelabs.js name="lodash-fp tests" runner="test/fp.html?no
- "[ $SAUCE_LABS == false ] || $BIN ./test/saucelabs.js name=\"backbone tests\ globals=true" tags=development
" runner=\"test/backbone.html?build=../dist/lodash.min.js\" tags=\ $BIN ./test/saucelabs.js name="underscore tests" runner="test/underscore
"production,backbone\"" .html?build=../dist/lodash.js" tags=development,underscore
- "[ $SAUCE_LABS == false ] || $BIN ./test/saucelabs.js name=\"backbone tests\ $BIN ./test/saucelabs.js name="underscore tests" runner="test/underscore
" runner=\"test/backbone.html?build=../dist/lodash.core.js\" tags=\ .html?build=../dist/lodash.min.js" tags=production,underscore
"development,backbone\"" $BIN ./test/saucelabs.js name="backbone tests" runner="test/backbone.h
- "[ $SAUCE_LABS == false ] || $BIN ./test/saucelabs.js name=\"backbone tests\ tml?build=../dist/lodash.js" tags=development,backbone
" runner=\"test/backbone.html?build=../dist/lodash.core.min.js\" tags=\ $BIN ./test/saucelabs.js name="backbone tests" runner="test/backbone.h
"production,backbone\"" tml?build=../dist/lodash.min.js" tags=production,backbone
$BIN ./test/saucelabs.js name="backbone tests" runner="test/backbone.h
tml?build=../dist/lodash.core.js" tags=development,backbone
$BIN ./test/saucelabs.js name="backbone tests" runner="test/backbone.h
tml?build=../dist/lodash.core.min.js" tags=production,backbone
fi
 End of changes. 15 change blocks. 
30 lines changed or deleted 72 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)