Updated gitlab process

This commit is contained in:
Roshan Syed 2019-09-04 13:55:38 -03:00
parent cdc89c16ee
commit ba22c611f6

View file

@ -1,36 +1,11 @@
stages: stages:
- pull
- build - build
- test
build:
before_script:
- cd /var/www/Projects/595.peerplays/blockchain
pulljob:
stage: pull
script:
- git pull origin master
only:
- master
tags:
- pp-dev
buildjob:
stage: build stage: build
script: script:
- git submodule update --init --recursive
- cmake . - cmake .
- make - make -j$(nproc)
only: tags:
- master - builder
tags:
- pp-dev
testjob:
stage: test
script:
- ./tests/chain_test
- ./tests/tournament_test
only:
- master
tags:
- pp-dev