forked from HorizenOfficial/eon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (38 loc) · 831 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
34
35
36
37
38
39
40
41
42
43
os: linux
dist: focal
language: generic
addons:
apt:
packages:
- libxml-xpath-perl
services:
- docker
git:
depth: false
env:
global:
- PROD_RELEASE_BRANCH=main
- DEV_RELEASE_BRANCH=development
before_script:
- source ci/setup_env.sh
- ci/travis_keep_alive.sh
jobs:
include:
- stage: Java project
name: "Build and test java project(s)"
script: ci/script.sh
env:
- TESTS_DOCKER_ORG='zencash'
- TESTS_IMAGE_NAME='sc-ci-base'
- TESTS_IMAGE_TAG='focal_jdk-11_latest'
- TESTS='000'
- EVMAPP_DOCKER_IMAGE_NAME='evmapp'
- BOOTSTRAPTOOL_DOCKER_IMAGE_NAME='evmapp-bootstraptool'
deploy:
provider: releases
token: $GITHUB_TOKEN
prerelease: $IS_A_GH_PRERELEASE
overwrite: true
on:
tags: true
condition: $IS_A_RELEASE = true