From 8d52fa993f13a80e8ebc507ac75177622eee1f4c Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Fri, 6 Apr 2018 14:16:46 -0700 Subject: gitlab test script --- .gitignore | 5 +++-- .gitlab-ci.yml | 17 +++++++++++++++++ 2 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 .gitlab-ci.yml diff --git a/.gitignore b/.gitignore index 162dc91..4054c1f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1,7 @@ *venv.zip *,cover -!.coveragerc htmlcov/ - *.o *.a *.pyc @@ -23,5 +21,8 @@ _build/ src/build/ *.log +!.coveragerc +!.gitlab-ci.yml + # Don't ignore this file itself !.gitignore diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..1ee2688 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,17 @@ +image: python:3.5 +before_script: + - apt update -qy + - apt install -y python3-dev python3-pip python3-wheel libjpeg-dev + - pip3 install --user pipenv + +test_mapreduce: + script: + - cd mapreduce + - pipenv install --dev + - pipenv run pytest + +test_pig: + script: + - cd pig + - pipenv install --dev + - pipenv run pytest -- cgit v1.2.3