Browse Source

Add .gitlab-ci.yml

master
Adam Peter Burns 1 year ago
parent
commit
8d913387ea
1 changed files with 27 additions and 0 deletions
  1. +27
    -0
      .gitlab-ci.yml

+ 27
- 0
.gitlab-ci.yml View File

@@ -0,0 +1,27 @@
# Is performed before the scripts in the stages step
before_script:
- source /etc/profile

# Defines stages which are to be executed
stages:
- build

# Stage "build"
run-build:
stage: build
script:
- apt-get install -y libncurses5-dev libglib2.0-dev libgeoip-dev libtokyocabinet-dev zlib1g-dev libncursesw5-dev libbz2-dev
- autoreconf -fvi
- cp COPYING debian/copyright
- dpkg-buildpackage -us -uc
- mkdir build
- mv ../goaccess*.deb build/

# This stage is only executed for new tags
only:
- tags

# The files which are to be made available in GitLab
artifacts:
paths:
- build/*

Loading…
Cancel
Save