Skip to content

Commit

Permalink
update versiona to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
alextremp committed Jan 2, 2020
1 parent 85abaa4 commit 800b8a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
8 changes: 1 addition & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,7 @@ cache:
before_install:
- npm config set //registry.npmjs.org/:_authToken=$NPM_TOKEN
script:
- npm run check
- npm run coverage:ci
- |
echo TRAVIS_BRANCH=$TRAVIS_BRANCH - TRAVIS_PULL_REQUEST=$TRAVIS_PULL_REQUEST - TRAVIS_TAG=$TRAVIS_TAG
if [[ $TRAVIS_TAG =~ ^v[0-9]+\.[0-9]+\.[0-9]+(-beta\.[0-9]+)?$ ]]; then
echo DEPLOY VERSION - TRAVIS_BRANCH=$TRAVIS_BRANCH, PR=$PR, BRANCH=$BRANCH
TRAVIS_TAG=$TRAVIS_TAG GH_TOKEN=$GH_TOKEN npm run versiona
fi
- npm run check && TRAVIS_TAG=$TRAVIS_TAG GH_TOKEN=$GH_TOKEN npm run versiona
after_success:
- bash <(curl -s https://codecov.io/bash)
9 changes: 1 addition & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
"coverage": "nyc --reporter=html --exclude=\"src/test\" npm run test",
"coverage:ci": "nyc --reporter=cobertura --exclude=\"src/test\" npm run test && codecov",
"benchmark": "babel-node src/benchmark/benchmark.js",
"local": "webpack-dev-server --config local/webpack.config.babel.js",
"lint": "sui-lint js",
"check": "npm run lint && npm run test",
"build": "babel src/main --out-dir dist",
Expand All @@ -40,22 +39,16 @@
"babel-loader": "^8.0.6",
"benchmark": "^2.1.4",
"chai": "^4.2.0",
"clean-webpack-plugin": "^3.0.0",
"codecov": "^3.6.1",
"html-webpack-plugin": "^3.2.0",
"jsdom": "15.2.1",
"jsdom-global": "3.0.2",
"loglevel": "^1.6.6",
"mocha": "5.2.0",
"nightingale": "^9.2.3",
"nightingale-console": "^6.1.1",
"nyc": "^15.0.0",
"querystring": "^0.2.0",
"sinon": "^7.5.0",
"versiona": "^3.0.0",
"webpack": "^4.41.2",
"webpack-cli": "^3.3.10",
"webpack-dev-server": "^3.9.0"
"versiona": "^4.0.0"
},
"babel": {
"plugins": [
Expand Down

0 comments on commit 800b8a8

Please sign in to comment.