Skip to content
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.

Commit

Permalink
chore: bump version to 0.19.0-dev.1 (#350)
Browse files Browse the repository at this point in the history
  • Loading branch information
antouhou committed Apr 8, 2021
1 parent 0370ca9 commit ab383c5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
15 changes: 9 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
sudo: required
dist: bionic
dist: focal
language: node_js

node_js:
Expand All @@ -8,7 +8,6 @@ node_js:
branches:
only:
- master
- /^v(0|[1-9]\d*)\.(0|[1-9]\d*)$/
- /^v(0|[1-9]\d*)\.(0|[1-9]\d*)-dev$/
- /^v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/

Expand All @@ -17,6 +16,8 @@ services:

addons:
apt:
sources:
- sourceline: 'deb https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable'
packages:
- docker-ce
- jq
Expand All @@ -29,14 +30,16 @@ before_install:
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- if [[ -n $SDK_BRANCH ]]; then export SDK_INSTALL=github:dashevo/DashJS#$SDK_BRANCH; fi
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- echo "Docker version:"
- docker -v

install:
- npm ci
- cp .env.example .env
# Get the latest version of travis-ci-tools
- curl -u $GITHUB_USER:$GITHUB_TOKEN -s https://api.github.com/repos/dashevo/travis-ci-tools/releases/latest | jq -r '.tarball_url' | xargs -I {} -n1 wget -O travis-ci-tools.tar.gz -q {}
- curl -s https://api.github.com/repos/dashevo/travis-ci-tools/releases/latest | jq -r '.tarball_url' | xargs -I {} -n1 wget -O travis-ci-tools.tar.gz -q {}
- mkdir ~/travis-ci-tools && tar -C ~/travis-ci-tools -xvf travis-ci-tools.tar.gz
- export CI_TOOLS_DIR="$(ls ~/travis-ci-tools)"
- cd ~/travis-ci-tools/$CI_TOOLS_DIR
Expand All @@ -45,14 +48,14 @@ install:

before_script:
- print-bells
- source ./bin/start-local-node.sh $TRAVIS_BUILD_DIR/package.json --override-major-version=0 --dapi-branch=${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH} --drive-branch=$DRIVE_BRANCH
- if [[ -z $SKIP_TEST_SUITE ]]; then source ./bin/start-local-node.sh $TRAVIS_BUILD_DIR/package.json --override-major-version=0 --dapi-branch=${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH} --drive-branch=$DRIVE_BRANCH; fi
- cd $TRAVIS_BUILD_DIR

script: >
npm run check-package &&
npm run lint &&
npm run test:coverage &&
if [[ -z $SKIP_TEST_SUITE ]]; then docker run --network="host" dashpay/platform-test-suite:$CURRENT_VERSION 127.0.0.1:3000 -k=$FAUCET_PRIVATE_KEY -n=regtest --dpns-tld-identity-private-key=$DPNS_TOP_LEVEL_IDENTITY_PRIVATE_KEY --dpns-tld-identity-id=$DPNS_TOP_LEVEL_IDENTITY_ID --dpns-contract-id=$DPNS_CONTRACT_ID --npm-install=$SDK_INSTALL; fi
if [[ -z $SKIP_TEST_SUITE ]]; then docker run --network="host" dashpay/platform-test-suite:$CURRENT_VERSION 127.0.0.1:3000 -s=platform -k=$FAUCET_PRIVATE_KEY -n=regtest --dpns-tld-identity-private-key=$DPNS_TOP_LEVEL_IDENTITY_PRIVATE_KEY --dpns-tld-identity-id=$DPNS_TOP_LEVEL_IDENTITY_ID --dpns-contract-id=$DPNS_CONTRACT_ID --npm-install=$SDK_INSTALL; fi
deploy:
skip_cleanup: true
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dashevo/dapi",
"version": "0.18.1",
"version": "0.19.0-dev.1",
"description": "A decentralized API for the Dash network",
"scripts": {
"api": "node scripts/api.js",
Expand Down

0 comments on commit ab383c5

Please sign in to comment.