Merge pull request #1373 from mathjax/issue1346
npm publish via continuous integration
This commit is contained in:
commit
581ff4daae
18
.travis.yml
Normal file
18
.travis.yml
Normal 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
|
|
@ -23,5 +23,8 @@
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git://github.com/mathjax/MathJax.git"
|
"url": "git://github.com/mathjax/MathJax.git"
|
||||||
},
|
},
|
||||||
"main": "./MathJax.js"
|
"main": "./MathJax.js",
|
||||||
|
"scripts": {
|
||||||
|
"test": "echo 'No tests here!'"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user