-
Notifications
You must be signed in to change notification settings - Fork 5
/
.gitlab-ci.yml
41 lines (37 loc) · 1003 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
39
40
variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
cache:
paths:
- .cache/pip
- pyvenv/
before_script:
- python3 -V
- python3 -m venv pyvenv
- source pyvenv/bin/activate
stages: # List of stages for jobs, and their order of execution
- lint
- build
lint-job:
stage: lint
script:
- pip3 install -r requirements.txt
- pylint ./parser/alpaca_parser
- pylint ./analysis
- cpplint --recursive --filter=-readability/casting parser/nasdaq_parser
- cpplint --recursive --filter=-runtime/references,-build/namespaces ./strategy
build-job:
stage: build
script:
- cd ./parser/nasdaq_parser
- make
# playground-job:
# stage: playground
# script:
# - ls -lha
# - export VAGRANT_CHECKPOINT_DISABLE=1
# - export VAGRANT_HOME=$PWD/vagrant_home
# - export | grep VAGRANT
# - vagrant up
# - build
# - test
# - deploy