language: node_js node_js: ## Some of the ES6 syntax used in the browser-polyfill sources is only supported on nodejs >= 6 ## and the selenium-webdriver dependency used by the integration tests requires nodejs >= 8. - '8' script: - npm run build - npm run test-coverage - echo "RE-RUN tests on the minified file" && npm run test-minified - echo "RE-RUN tests on the webpack and browserify bundled files" && npm install -g browserify webpack webpack-cli && ./test/run-module-bundlers-smoketests.sh - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start - echo "RUN integration tests on real browsers" && TRAVIS_CI=true ./test/run-browsers-smoketests.sh ## See https://docs.travis-ci.com/user/chrome sudo: required addons: firefox: 'latest' chrome: 'stable' after_script: npm run publish-coverage notifications: irc: channels: - irc.mozilla.org#webextensions on_success: change on_failure: always use_notice: true template: - "%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message} (%{build_url})" deploy: provider: npm email: addons-dev-automation+npm@mozilla.com skip_cleanup: true on: tags: true repo: mozilla/webextension-polyfill branch: master api_key: secure: W1e/XXtsl98NGUYsqlELnrspPW/ULUk74dUMmLC7iqmI8RVvzBgjkxBGmgsToZAbdzeNMlsOeeNz2iF+DSy3UF9bc3PTdHmN8kYU8enqo3P/FKK29rg5udx/HRW2GK06UzEBctOY90OwnUD+J1OaCJ0vMh6EekiP1BXOtrvch6Ruo7SYrwQ0vu5gFM+ifwfpGycTbRd77P6YJzbxYSEJfkQz1R1X7i8pLmi0vTyQa3tUYsQd8WzL6CJsWitojtf0FHGJgzXu2g6iFmkLVC0+dnGCRAxnRbixoYMmJYyEcvgIXlmNB6gl7ortuWKOp82lhXWXZWaYqO9Y8w4X0I8iNQzrLnupwyaC0cK51OPLLZEdgXa+bXmsYi2LYiV72oTCFd7j+f8hcoPOtgkGXJR+5F87zZLy8Ayr62fshWE/sl+dw2b/H5AqER4UNlX1+EiHQHjUtSvYlAmkTX3t4q/c+d0T1U5aM0CbOhS5juYVVqyIFGlUoRdNKDVedn0uCd+D2ItGj9y7yex0z+tc8iKaze0DhQCMq5QTxEU89REEU7Bf3gkpZtXlcmGZX/RTTCe941is7cIrUeJrZXPt5lA+cudBf3t60t7qysHLconQ+TXlDxCBvX7lLF9lZT5z0BKdOA0iL574ABtiJEjPxi0gOIWg2DJh15OZGA5mC4gPsZ4=