aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore5
-rw-r--r--.gitlab-ci.yml17
2 files changed, 20 insertions, 2 deletions
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