diff options
author | Bryan Newbold <bnewbold@archive.org> | 2018-04-06 14:16:46 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2018-04-06 14:16:46 -0700 |
commit | 8d52fa993f13a80e8ebc507ac75177622eee1f4c (patch) | |
tree | a1a652a02289b95173097fd79ec39bc204374897 | |
parent | 114c6b611148d2ff499bcea302eee0eca00df647 (diff) | |
download | sandcrawler-8d52fa993f13a80e8ebc507ac75177622eee1f4c.tar.gz sandcrawler-8d52fa993f13a80e8ebc507ac75177622eee1f4c.zip |
gitlab test script
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | .gitlab-ci.yml | 17 |
2 files changed, 20 insertions, 2 deletions
@@ -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 |