Skip to content
Snippets Groups Projects
Commit 76458b9c authored by Piotr Gawron's avatar Piotr Gawron
Browse files

first try for gitlab CI debian package build script

parent 582b9398
No related branches found
No related tags found
1 merge request!163Resolve "Continous integration build"
image: node
before_script:
- apt-get update
stages:
- build
- test
test_frontend:
stage: test
script:
- cd frontend-js
- npm install
......@@ -10,17 +17,30 @@ test_frontend:
build_war:
image: debian
stage: build
only:
- tags
artifacts:
paths:
- minerva.war
script:
- apt-get update
- apt-get install -y curl sudo gnupg git
- apt-get install -y curl sudo gnupg git openjdk-8-jdk ant maven
- curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash -
- sudo apt-get install -y nodejs
- apt-get install -y openjdk-8-jdk ant maven
- ant maven-build
- cp web/target/web-1.0.war minerva.war
build_debian_package:
image: debian
stage: build
only:
- tags
artifacts:
paths:
- "debian/*.deb"
script:
- apt-get install -y curl sudo gnupg git openjdk-8-jdk ant maven dh-make
- curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash -
- sudo apt-get install -y nodejs
- ant debian-pkg
minerva (12.0.0) stable; urgency=medium
* STUB CHANGLELOG ENTRY
-- Piotr Gawron <piotr.gawron@uni.lu> Thu, 14 Dec 2017 16:00:00 +0200
minerva (11.0.6) stable; urgency=medium
* Bug fix: fix a bug when entering invalid mirna id
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment