forked from HorizenOfficial/Sidechains-SDK
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (41 loc) · 861 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
44
45
46
os: linux
dist: focal
vm:
size: x-large
language: generic
addons:
apt:
packages:
- libxml-xpath-perl
services:
- docker
git:
depth: false
env:
global:
# Separate branches by space
- PROD_RELEASE_BRANCHES='master'
- NODE_VERSION="v16"
- TEST_CMD="./run_sc_tests.sh"
- API_ZEN_REPO_URL="https://api.github.com/repos/HorizenOfficial/zen"
before_script:
- source ci/setup_env.sh
- ci/travis_keep_alive.sh
jobs:
include:
- stage: java project
name: jdk-11_latest
script: ci/script.sh
env:
- TESTS_DOCKER_ORG='zencash'
- TESTS_IMAGE_NAME='sc-ci-base'
- TESTS_IMAGE_TAG='focal_jdk-11_latest'
- TESTS='000'
deploy:
provider: releases
token: $GH_TOKEN_RELEASES
prerelease: $IS_A_GH_PRERELEASE
overwrite: true
on:
tags: true
condition: $IS_A_RELEASE = true