1
0
mirror of https://github.com/gophernicus/gophernicus.git synced 2024-06-09 06:20:43 +00:00

Travis CI -> Drone CI

This commit is contained in:
fosslinux 2019-06-15 11:01:19 +10:00
parent 6c67c02c11
commit d80ddc482c
3 changed files with 26 additions and 3 deletions

17
.drone.yml Normal file
View File

@ -0,0 +1,17 @@
kind: pipeline
name: default
steps:
- name: build
image: ubuntu:18.04
commands:
- .drone/deps
- make
- make install
- name: debian
image: ubuntu:18.04
commands:
- .drone/deps
- apt-get -qq install debhelper git libwrap0-dev openbsd-inetd > /dev/null
- make deb
- dpkg -i ../*.deb

4
.drone/deps Executable file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env bash
apt-get -qq update > /dev/null
apt-get -qq dist-upgrade > /dev/null
apt-get -qq install build-essential > /dev/null

View File

@ -255,9 +255,11 @@ install-systemd: install-files install-docs install-root
break; \
fi; \
done; \
systemctl daemon-reload; \
systemctl enable $(NAME).socket; \
systemctl start $(NAME).socket; \
if pidof systemd ; then \
systemctl daemon-reload; \
systemctl enable $(NAME).socket; \
systemctl start $(NAME).socket; \
fi; \
fi
@echo