* issue - 154: Don't allow to vote when vesting balance is 0
* changes to withdraw_vesting feature(for both cdd and GPOS)
* Comments update
* update to GPOS hardfork ref
* fix for get_vesting_balance API call
* braces update
* Create .gitlab-ci.yml
* fixing build errors (#150)
* fixing build errors
vest type correction
* fixing build errors
vest type correction
* fixes
new Dockerfile
* vesting_balance_type correction
vesting_balance_type changed to normal
* gcc5 support to Dockerfile
gcc5 support to Dockerfile
* Changes to compiple with GCC 7(Ubuntu 18.04)
* changes to have separate methods and single withdrawl fee for multiple vest objects
* 163-fix, Return only non-zero vesting balances
* Revert "Revert "GPOS protocol""
This reverts commit 67616417b7.
* add new line needed to gpos hardfork file
* comment temporally cli_vote_for_2_witnesses until refactor or delete
* fix gpos tests
* fix gitlab-ci conflict
54 lines
1.1 KiB
YAML
54 lines
1.1 KiB
YAML
include:
|
|
- template: Code-Quality.gitlab-ci.yml
|
|
|
|
stages:
|
|
- build
|
|
- test
|
|
|
|
build:
|
|
stage: build
|
|
script:
|
|
- git submodule update --init --recursive
|
|
- cmake .
|
|
- make -j$(nproc)
|
|
artifacts:
|
|
untracked: true
|
|
paths:
|
|
- libraries/
|
|
- programs/
|
|
- tests/
|
|
tags:
|
|
- builder
|
|
|
|
test:
|
|
stage: test
|
|
dependencies:
|
|
- build
|
|
script:
|
|
- ./tests/betting_test
|
|
- ./tests/chain_test
|
|
- ./tests/cli_test
|
|
tags:
|
|
- builder
|
|
|
|
code_quality:
|
|
stage: test
|
|
image: docker:stable
|
|
variables:
|
|
DOCKER_DRIVER: overlay2
|
|
allow_failure: true
|
|
services:
|
|
- docker:stable-dind
|
|
script:
|
|
- export SP_VERSION=$(echo "$CI_SERVER_VERSION" | sed 's/^\([0-9]*\)\.\([0-9]*\).*/\1-\2-stable/')
|
|
- docker run
|
|
--env SOURCE_CODE="$PWD"
|
|
--volume "$PWD":/code
|
|
--volume /var/run/docker.sock:/var/run/docker.sock
|
|
"registry.gitlab.com/gitlab-org/security-products/codequality:$SP_VERSION" /code
|
|
artifacts:
|
|
paths: [gl-code-quality-report.json]
|
|
expire_in: 1 week
|
|
except:
|
|
variables:
|
|
- $CODE_QUALITY_DISABLED
|