-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitlab-ci.yml
38 lines (33 loc) · 807 Bytes
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
image: otaviog/ubuntu-rflow-ci
before_script:
- python3 -m venv venv
- source venv/bin/activate
- pip3 install -U pip
- pip3 install .
cache:
paths:
- venv
stages:
- test
- deploy
test:
stage: test
script:
- make -f unittest.mk all
pages:
stage: deploy
script:
- pip3 install -r requirements-dev.txt
- make -f tasks.mk doc-create
- cp -r doc/build/html public
- touch doc/tutorials/wordcounter/tutorial.ipynb
- make -C doc/tutorials/wordcounter tutorial.html
- mkdir public/wordcounter
- cp doc/tutorials/wordcounter/tutorial.html public/wordcounter
- cp doc/tutorials/wordcounter/big-text.txt public/wordcounter
- cp doc/tutorials/wordcounter/workflow.py public/wordcounter
artifacts:
paths:
- public
only:
- master