gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet-python] branch master updated: gitlab ci


From: gnunet
Subject: [GNUnet-SVN] [gnunet-python] branch master updated: gitlab ci
Date: Fri, 01 Dec 2017 22:50:28 +0100

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnunet-python.

The following commit(s) were added to refs/heads/master by this push:
     new f503276  gitlab ci
f503276 is described below

commit f503276ede4a3e82ebea9d1a1b75b9ab9fc1c22d
Author: ng0 <address@hidden>
AuthorDate: Fri Dec 1 21:50:17 2017 +0000

    gitlab ci
---
 .gitlab-ci.yml | 31 +++++++++++++++++++++++++++++++
 Dockerfile     |  6 ++++++
 2 files changed, 37 insertions(+)

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 @@
+variables:
+
+stages:
+  - container
+  - build
+
+build-container:
+  stage: container
+  image: docker:dind
+  only:
+    - master
+  script:
+    - docker build -f Dockerfile -t gnunet-python .
+
+# For now just build with python3
+language: python
+python:
+    - "3.6"
+    - "2.7"
+
+build-gnunet-python:
+  stage: build
+  image: gnunet-python:latest
+  only:
+    - master
+  install:
+    - pip install dbus
+    - pip install PyGObject
+script: python setup.py
+
+cache: pip
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..41333d6
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,6 @@
+from debian:stretch
+
+# Install build tools
+RUN apt-get update && apt-get install -y git make automake autopoint autoconf 
python3
+
+# TODO: python2.7 image

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]