forked from malikzh/NCANode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
33 lines (32 loc) · 917 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#
# Описание конфигурации для Travis CI
#
language: java
dist: trusty
jdk:
- oraclejdk8
install:
- wget -P ./lib "$KALKAN_DOWNLOAD_URL"
- wget -P ./lib "$KALKAN_XMLDSIG_DOWNLOAD_URL"
- mvn install:install-file -Dfile=./lib/kalkancrypt-0.6.jar -DgroupId=pki.gov.kz -DartifactId=kalkancrypt
-Dversion=0.6 -Dpackaging=jar -DgeneratePom=true
- mvn install:install-file -Dfile=./lib/kalkancrypt_xmldsig-0.3.jar -DgroupId=pki.gov.kz
-DartifactId=kalkancryptxmldsig -Dversion=0.3 -Dpackaging=jar -DgeneratePom=true
script:
- mvn package
after_success:
- NCANODE_BUILD_VERSION=${TRAVIS_TAG:1:100}
- 'echo "Build version is: ${NCANODE_BUILD_VERSION}"'
- "./build_release.sh $NCANODE_BUILD_VERSION"
deploy:
provider: releases
api_key: $GITHUB_TOKEN
file_glob: true
file:
- "NCANode.zip"
- "NCANode.tar.gz"
on:
tags: true
branch: master
skip_cleanup: 'true'
draft: true