aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2018-04-06 14:16:46 -0700
committerBryan Newbold <bnewbold@archive.org>2018-04-06 14:16:46 -0700
commit8d52fa993f13a80e8ebc507ac75177622eee1f4c (patch)
treea1a652a02289b95173097fd79ec39bc204374897
parent114c6b611148d2ff499bcea302eee0eca00df647 (diff)
downloadsandcrawler-8d52fa993f13a80e8ebc507ac75177622eee1f4c.tar.gz
sandcrawler-8d52fa993f13a80e8ebc507ac75177622eee1f4c.zip
gitlab test script
-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