Compare commits

...

9 commits

Author SHA1 Message Date
Roshan Syed
37d3ca453c Added artifact paths 2019-09-06 11:20:38 -03:00
Roshan Syed
8afcb82774 Changed using cache to artifacts in CI 2019-09-05 15:50:56 -03:00
Roshan Syed
dfb9fc3953 Added cache to CI 2019-09-05 15:27:25 -03:00
Roshan Syed
7d8f213867 Added cache to CI 2019-09-05 14:07:45 -03:00
Roshan Syed
33cb1330fe Corrected path to tests 2019-09-05 13:48:18 -03:00
Roshan Syed
ae5b253665 Corrected path to tests 2019-09-05 13:26:17 -03:00
Roshan Syed
3cd6473dd6 Fixed stage typo 2019-09-05 12:34:59 -03:00
Roshan Syed
9f36a58f98 Added test cases to CI 2019-09-05 12:32:39 -03:00
Roshan Syed
ba22c611f6 Updated gitlab process 2019-09-04 13:55:38 -03:00

View file

@ -1,36 +1,28 @@
stages: stages:
- pull
- build - build
- test - test
before_script: build:
- 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: artifacts:
- master untracked: true
tags: paths:
- pp-dev - libraries/
- programs/
testjob: - tests/
tags:
- builder
test:
stage: test stage: test
dependencies:
- build
script: script:
- ./tests/betting_test
- ./tests/chain_test - ./tests/chain_test
- ./tests/tournament_test tags:
only: - builder
- master
tags:
- pp-dev