Skip to content

Commit 4d86800

Browse files
author
Harrison Ifeanyichukwu
committed
ci: integrate travis ci
1 parent 7404eb6 commit 4d86800

File tree

2 files changed

+24
-5
lines changed

2 files changed

+24
-5
lines changed

.travis.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
language: node_js
2+
cache:
3+
directories:
4+
- ~/.npm
5+
notifications:
6+
email: false
7+
node_js:
8+
- '9'
9+
- '8'
10+
script:
11+
- npm run test
12+
# - npm run check-coverage ##check code coverage
13+
- npm run build
14+
after_success:
15+
- npm run report-coverage
16+
- npm run travis-deploy-once "npm run semantic-release"
17+
branches:
18+
except:
19+
- /^v\d+\.\d+\.\d+$/

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "xml-serializer",
3-
"version": "1.0.0",
3+
"version": "0.0.0-development",
44
"description": "A javascript implementation of w3c xml-serialization spec",
5-
"main": "index.js",
5+
"main": "main.js",
66
"scripts": {
77
"commit": "git-cz",
88
"test": "BABEL_ENV=test nyc mocha --recursive",
@@ -17,7 +17,7 @@
1717
},
1818
"repository": {
1919
"type": "git",
20-
"url": "git+https://github.com/harrison-ifeanyichukwu/xml-serializer.git"
20+
"url": "https://github.com/harrison-ifeanyichukwu/xml-serializer.git"
2121
},
2222
"keywords": [
2323
"xml-serialization",
@@ -51,8 +51,8 @@
5151
"rollup-plugin-babel": "3.0.4",
5252
"rollup-plugin-node-resolve": "3.3.0",
5353
"rollup-plugin-uglify": "4.0.0",
54-
"semantic-release": "^15.5.2",
55-
"travis-deploy-once": "^5.0.0"
54+
"semantic-release": "^15.6.3",
55+
"travis-deploy-once": "^5.0.1"
5656
},
5757
"czConfig": {
5858
"path": "node_modules/cz-conventional-changelog"

0 commit comments

Comments
 (0)