Skip to content

Commit

Permalink
Support/gitlab (#123)
Browse files Browse the repository at this point in the history
* Updated gitlab process
  • Loading branch information
Roshan Syed authored and gladcow committed Oct 2, 2019
1 parent 8439d1f commit 5b2f6f6
Showing 1 changed file with 18 additions and 26 deletions.
44 changes: 18 additions & 26 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,28 @@
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:
- 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/tournament_test
only:
- master
tags:
- pp-dev
tags:
- builder

0 comments on commit 5b2f6f6

Please sign in to comment.