svg.js/.travis.yml
Ulrich-Matthias Schäfer 58fd0d68bc Fix build chain so that we now have multiple builds. Details below:
- svg.js: The esm bundle
- svg.min.js: The bundle for all browsers for maximum support
- svg.node.js: The bundle for node
- polyfill.js: Using svg.min.js requires this polyfill in case the Browser does not understand all of ./config/polyfillList.js
- polyfillIE.js: This is required when you use IE11 (polyfill.js still required)

Please note, that not all test pass for IE11 due to its rounding issues and wrong calculation of bbox.
Also note, that `defaultPrevented` is not working for CustomEvents in IE11.
2018-11-28 12:57:52 +01:00

21 lines
461 B
YAML

language: node_js
node_js:
- "stable"
script:
- npm run build
- npm run test
# - npm run test:ci
# - cat coverage/firefox/lcov.info | node_modules/.bin/coveralls
addons:
firefox: "latest"
chrome: "stable"
# hosts:
# - karmalocal.com
before_install:
# Start a display server where all graphical operations happens in memory
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
#cache:
# directories:
# - node_modules