Skip to content

Commit 581ff4d

Browse files
committed
Merge pull request #1373 from mathjax/issue1346
npm publish via continuous integration
2 parents d0ecea1 + 1c2a396 commit 581ff4d

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

.travis.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
language: node_js
2+
node_js:
3+
- '5'
4+
sudo: false
5+
script:
6+
- npm install
7+
- npm test
8+
branches:
9+
only:
10+
- master
11+
- /^\d+\.\d+/
12+
deploy:
13+
provider: npm
14+
15+
api_key:
16+
secure: bvV24vukT5rVQLyo5GOI1ZM23wbVGeu+AQMkq6IYFFAoggZR9VRCASrwRPfrdzgQYpW2m2al3YaQ/0PvEaOckP+fapqkPtsefjrHaTURxrzPb/KYmiLCN5uhYbJPDSXuFCuNqzMU0zFh3savedWiQZfaaXirLYB3aeDPqCbmqTI=
17+
on:
18+
tags: true

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,8 @@
2323
"type": "git",
2424
"url": "git://github.com/mathjax/MathJax.git"
2525
},
26-
"main": "./MathJax.js"
26+
"main": "./MathJax.js",
27+
"scripts": {
28+
"test": "echo 'No tests here!'"
29+
}
2730
}

0 commit comments

Comments
 (0)