2016-06-27 11:33:28 +02:00
|
|
|
|
2018-04-05 08:07:40 +02:00
|
|
|
test_code:
|
|
|
|
image: rootproject/root-ubuntu16:6.12
|
|
|
|
stage: test
|
|
|
|
before_script:
|
|
|
|
- mkdir -p $HOME/.local
|
2018-11-27 21:55:39 +01:00
|
|
|
- curl -s "https://cmake.org/files/v3.13/cmake-3.13.0-Linux-x86_64.tar.gz" | tar --strip-components=1 -xz -C $HOME/.local
|
2018-04-05 08:07:40 +02:00
|
|
|
- export PATH=$HOME/.local/bin:$PATH
|
|
|
|
script:
|
|
|
|
- mkdir -p build
|
|
|
|
- cd build
|
|
|
|
- cmake ../examples
|
2018-05-01 17:18:27 +02:00
|
|
|
- VERBOSE=1 cmake --build .
|
2018-04-05 08:07:40 +02:00
|
|
|
- ctest
|
|
|
|
- cd ..
|
2016-06-27 11:33:28 +02:00
|
|
|
|
|
|
|
pages:
|
2018-10-18 14:47:00 +02:00
|
|
|
image: node:10
|
2016-06-27 11:33:28 +02:00
|
|
|
stage: deploy
|
2018-04-05 08:07:40 +02:00
|
|
|
only:
|
|
|
|
- master
|
|
|
|
cache:
|
|
|
|
paths:
|
|
|
|
- node_modules/
|
|
|
|
before_script:
|
|
|
|
- npm install gitbook-cli -g #
|
2018-10-18 14:47:00 +02:00
|
|
|
- gitbook fetch 3.2.3
|
2018-04-05 08:07:40 +02:00
|
|
|
- gitbook install
|
2016-06-27 11:33:28 +02:00
|
|
|
script:
|
2018-04-05 08:07:40 +02:00
|
|
|
- gitbook build . public
|
2016-06-27 11:33:28 +02:00
|
|
|
artifacts:
|
|
|
|
paths:
|
2017-04-03 13:33:48 +02:00
|
|
|
- public
|
2017-10-18 16:20:39 +02:00
|
|
|
expire_in: 1 week
|
|
|
|
|