-
Notifications
You must be signed in to change notification settings - Fork 7
/
.gitlab-ci.yml
72 lines (67 loc) · 1.61 KB
/
.gitlab-ci.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
default:
artifacts:
name: "$CI_PROJECT_NAME Bundle $CI_COMMIT_SHORT_SHA $CI_JOB_NAME"
paths:
- i2pinstall.exe
- i2pupdate.zip
- install.jar
- i2psnark-standalone.zip
- javadoc.zip
- i2p.tar.bz2
- i2pplus_latest_source.tar.gz
# - i2pupdate200.zip
expire_in: 8 weeks
stages:
- build
# - test
before_script:
# install dependencies to build EXEs and packages
- apt-get update -yqq
- apt-get install -yqq libc6-i386 ant gettext zip git
- java -version
Java8:
stage: build
only:
- master
image: openjdk:8
# allow failure so commits work when CI minutes exhausted
allow_failure: true
script:
- ant pkg
- ant tarball
- ant updaterWithJavadoc
- ant i2psnark
- ant javadoc-zip
- git archive --format=tar.gz -o i2pplus_latest_source.tar.gz HEAD
# - ./installer/resources/makegeoip.sh
# - ant updater200WithJettyAndGeoIP
# - ant updaterWithJetty
# - ant updaterCompact
# - ant updater200Compact
#testing:
# stage: test
# only:
# - master
# image: openjdk:8
# # allow failure so commits work when CI minutes exhausted
# allow_failure: true
# script:
# - apt-get install -yqq libxml2-utils
# - ./tests/scripts/checkcerts.sh
# - ./tests/scripts/checkpo.sh
# - ./tests/scripts/checkscripts.sh
# - ./tests/scripts/checkutf8.sh
# - ./tests/scripts/checkxml.sh
#findbugs:
# stage: test
# image: openjdk:8
# only:
# - master
# - schedules
# script:
# - apt-get install -yqq findbugs
# - ant findbugs
# artifacts:
# expose_as: findbugs
# paths: ['findbugs.html']
# expire_in: 1 month