Merge pull request #1373 from mathjax/issue1346

npm publish via continuous integration
This commit is contained in:
Davide P. Cervone 2016-02-07 07:46:50 -05:00
commit 581ff4daae
2 changed files with 22 additions and 1 deletions

18
.travis.yml Normal file
View File

@ -0,0 +1,18 @@
language: node_js
node_js:
- '5'
sudo: false
script:
- npm install
- npm test
branches:
only:
- master
- /^\d+\.\d+/
deploy:
provider: npm
email: manager@mathjax.org
api_key:
secure: bvV24vukT5rVQLyo5GOI1ZM23wbVGeu+AQMkq6IYFFAoggZR9VRCASrwRPfrdzgQYpW2m2al3YaQ/0PvEaOckP+fapqkPtsefjrHaTURxrzPb/KYmiLCN5uhYbJPDSXuFCuNqzMU0zFh3savedWiQZfaaXirLYB3aeDPqCbmqTI=
on:
tags: true

View File

@ -23,5 +23,8 @@
"type": "git",
"url": "git://github.com/mathjax/MathJax.git"
},
"main": "./MathJax.js"
"main": "./MathJax.js",
"scripts": {
"test": "echo 'No tests here!'"
}
}