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:
- pull
- build
- test
before_script:
- cd /var/www/Projects/595.peerplays/blockchain
pulljob:
stage: pull
script:
- git pull origin master
only:
- master
tags:
- pp-dev
buildjob:
build:
stage: build
script:
- git submodule update --init --recursive
- cmake .
- make
only:
- master
tags:
- pp-dev
testjob:
stage: test
script:
- ./tests/chain_test
- ./tests/tournament_test
only:
- master
tags:
- pp-dev
- make -j$(nproc)
tags:
- builder