forked from PBSA/peerplays
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Updated gitlab process
- Loading branch information
Roshan Syed
authored
Sep 10, 2019
1 parent
9224af5
commit edec01f
Showing
1 changed file
with
18 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |