aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
blob: 14a08b812bf54f9ebef61558ae856ab3201fd2ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
image: python:3.6-stretch
before_script:
  - apt update -qy
  - apt install -y python3-dev python3-pip python3-wheel libjpeg-dev openjdk-8-jre-headless
  - pip3 install pipenv
  - pipenv --version

test_mapreduce:
  script:
    - cd mapreduce
    - pipenv install --dev --deploy
    - pipenv run pytest --cov
    - pipenv run pylint --disable bad-continuation,arguments-differ,unidiomatic-typecheck *.py
    
test_pig:
  script:
    - cd pig
    - ./fetch_deps.sh
    - pipenv install --dev --deploy
    - JAVA_HOME=$(readlink -f /usr/bin/java | sed "s:bin/java::") pipenv run pytest