-
Notifications
You must be signed in to change notification settings - Fork 18
/
.travis.yml
44 lines (39 loc) · 1.11 KB
/
.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
addons:
apt:
packages:
- libxml-xpath-perl
services:
- docker
git:
depth: false
env:
global:
- DOCKER_ORG=zencash
- IMAGE_NAME=sc-ci-base
- PROD_RELEASE_BRANCH=master
- PUBLISH_BUILD=false
script:
- source ci/setup_env.sh
- ci/travis_keep_alive.sh
- ci/script.sh tests
jobs:
include:
- name: rust-stable_latest_asm_target-feature_cargo_test
env: IMAGE_TAG='bionic_rust-stable_jdk-11_latest' RUSTFLAGS='-C target-feature=+bmi2,+adx --emit=asm' TESTS='000,002'
- name: rust-stable_latest_asm_target-feature_mvn_test
env: IMAGE_TAG='bionic_rust-stable_jdk-11_latest' RUSTFLAGS='-C target-feature=+bmi2,+adx --emit=asm' TESTS='001,003'
- name: rust-stable_latest_asm_target-feature_mvn_release
if: tag IS present
env: PUBLISH_BUILD=true IMAGE_TAG='bionic_rust-stable_jdk-11_latest' RUSTFLAGS='-C target-feature=+bmi2,+adx --emit=asm' TESTS='000,001,002,003'
deploy:
provider: script
script: ci/script.sh release
skip_cleanup: true
on:
tags: true
condition: $PUBLISH_BUILD = true