forked from HorizenOfficial/Sparkz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (37 loc) · 832 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
os: linux
dist: focal
vm:
size: large
language: generic
services:
- docker
git:
depth: false
env:
global:
- DOCKER_ORG=zencash
- IMAGE_NAME=sc-ci-base
- IMAGE_TAG='bionic_jdk-11_latest'
- PROD_RELEASE_BRANCH=main
jobs:
include:
- name: jdk-11_latest
env: TESTS='000'
script:
- source ci/setup_env.sh
- ci/travis_keep_alive.sh
- ci/script.sh tests
deploy:
provider: script
script: ci/script.sh release
skip_cleanup: true
on:
tags: true
condition: $CONTAINER_PUBLISH = true
cache:
directories:
- "${TRAVIS_BUILD_DIR}/.ivy2/cache"
- "${TRAVIS_BUILD_DIR}/.sbt"
before_cache:
- find ${TRAVIS_BUILD_DIR}/.ivy2/cache -name "ivydata-*.properties" -print -delete
- find ${TRAVIS_BUILD_DIR}/.sbt -name "*.lock" -print -delete