UNPKG

five-bells-integration-test

Version:

A module to help with testing Five Bells components against each other

24 lines (23 loc) 1.02 kB
machine: node: version: 8.9.4 services: - docker test: override: - npm run lint - if git log -1 --pretty=%B | grep -qF "[skip tests]"; then true; else npm test; fi post: # - docker build -t interledgerjs/five-bells-integration-test:latest . # - docker tag interledgerjs/five-bells-integration-test:latest interledgerjs/five-bells-integration-test:"$(git describe --tags)" deployment: production: branch: master commands: # Push NPM package if not yet published - mv npmrc-env .npmrc - if [ $(npm show five-bells-integration-test version) != $(npm ls --depth=-1 2>/dev/null | head -1 | cut -f 1 -d " " | cut -f 2 -d @) ] ; then npm publish ; fi # Push Docker image tagged latest and tagged with commit descriptor # - sed "s/<AUTH>/${DOCKER_TOKEN}/" < "dockercfg-template" > ~/.dockercfg # - docker push interledgerjs/five-bells-integration-test:latest # - docker push interledgerjs/five-bells-integration-test:"$(git describe --tags)"