aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2017-12-01 21:50:17 +0000
committerng0 <ng0@n0.is>2017-12-01 21:50:17 +0000
commitf503276ede4a3e82ebea9d1a1b75b9ab9fc1c22d (patch)
treef16d60a1165315be0d946966b930f4fdcf3620e9
parent647611ae3c99bdd555315d5e1cb1795c39a3b8a6 (diff)
downloadgnunet-python-f503276ede4a3e82ebea9d1a1b75b9ab9fc1c22d.tar.gz
gnunet-python-f503276ede4a3e82ebea9d1a1b75b9ab9fc1c22d.zip
gitlab ci
-rw-r--r--.gitlab-ci.yml31
-rw-r--r--Dockerfile6
2 files changed, 37 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..2c35388
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,31 @@
1variables:
2
3stages:
4 - container
5 - build
6
7build-container:
8 stage: container
9 image: docker:dind
10 only:
11 - master
12 script:
13 - docker build -f Dockerfile -t gnunet-python .
14
15# For now just build with python3
16language: python
17python:
18 - "3.6"
19 - "2.7"
20
21build-gnunet-python:
22 stage: build
23 image: gnunet-python:latest
24 only:
25 - master
26 install:
27 - pip install dbus
28 - pip install PyGObject
29script: python setup.py
30
31cache: pip
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..41333d6
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,6 @@
1from debian:stretch
2
3# Install build tools
4RUN apt-get update && apt-get install -y git make automake autopoint autoconf python3
5
6# TODO: python2.7 image