0
mirror of https://github.com/valentineus/simple-container.git synced 2025-07-01 08:30:27 +03:00

Updating the automatic build

This commit is contained in:
2017-10-22 18:02:31 +04:00
parent 5d0c60d6dc
commit c6297ffaea
2 changed files with 33 additions and 30 deletions

View File

@ -1,48 +1,51 @@
language: node_js language: node_js
node_js: node_js:
- "8" - "8"
- "7" - "7"
- "6" - "6"
- "5" - "5"
- "4" - "4"
os: os:
- linux - linux
services: services:
- docker - docker
notifications: notifications:
email: email:
- "info@valentineus.link" - "info@valentineus.link"
before_install: before_install:
- npm install --global nyc - npm install --global nyc
- npm install --global codacy-coverage - npm install --global codacy-coverage
install: install:
- npm install - npm install
script: script:
- npm run check - npm run check
- nyc npm run test - nyc npm run test
- nyc report --reporter=lcov - nyc report --reporter=lcov
after_success: after_success:
- nyc report --reporter=lcov - nyc report --reporter=lcov
- cat ./coverage/lcov.info | codacy-coverage - cat ./coverage/lcov.info | codacy-coverage
jobs: jobs:
include: include:
- stage: deploy - stage: deploy
node_js: "8" node_js: "8"
os: "linux" os: "linux"
before_deploy: before_deploy:
- npm install - git stash --all
- npm run build - npm install
deploy: - npm run build
provider: npm deploy:
skip_cleanup: false provider: npm
email: "info@valentineus.link" skip_cleanup: true
api_key: $NPM_PROJECT_TOKEN email: "info@valentineus.link"
api_key: $NPM_PROJECT_TOKEN
on:
tags: true

View File

@ -1,6 +1,6 @@
{ {
"name": "simple-container", "name": "simple-container",
"version": "1.1.0", "version": "1.1.1",
"description": "Simple and fast work with the Docker container", "description": "Simple and fast work with the Docker container",
"homepage": "https://github.com/valentineus/simple-container", "homepage": "https://github.com/valentineus/simple-container",
"license": "MIT", "license": "MIT",