forked from arkworks-rs/snark
-
Notifications
You must be signed in to change notification settings - Fork 17
/
.travis.yml
46 lines (42 loc) · 2.07 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
45
46
os: linux
dist: focal
language: generic
vm:
size: large
services:
- docker
# env variable definitions
# DOCKER_ORG, IMAGE_NAME and IMAGE_TAG will determine which docker image is being used,
# see https://github.com/HorizenOfficial/sc-ci-base-docker#currently-available-tags-only-latest-shown
# for details on available tags.
# TESTS configures which test scripts to run from the ci/tests folder. The format is either comma
# separated substrings, matching on the filename ('001,002' evaluates to 001*.sh and 002*.sh), or '*'
# which evaluates to *.sh (all .sh files).
# CARGOARGS is passed like this 'cargo $CARGOARGS check|test|build' to all cargo commands in the test scripts.
# Additionally at container startup the version of Rust specified by CARGOARGS is also installed
# using rustup should it not yet be installed in the container flavor.
# RUST_CROSS_TARGETS comma separated list of targets to install, will be installed for all toolchains.
# RUSTUP_TOOLCHAIN another way to override the used Rust version, although CARGOARGS takes precedence, see:
# https://rust-lang.github.io/rustup/overrides.html
# RUSTFLAGS global rust compiler flags to set.
# By default empty env vars like RUSTFLAGS='' are not passed through to the docker container,
# if you want to pass empty vars set them to space like RUSTFLAGS=' '.
env:
global:
- DOCKER_ORG=zencash
- IMAGE_NAME=sc-ci-base
script:
- ci/travis_keep_alive.sh
- ci/script.sh
jobs:
include:
- name: bionic_rust-stable_latest-CHECK
env: IMAGE_TAG=bionic_rust-stable_latest TESTS='000,001,002,003,004,005,006,007,008,009,010,011,012,013,014,015,016,017,018,019,020,021,026'
- name: bionic_rust-stable_latest-TEST_BACKEND
env: IMAGE_TAG=bionic_rust-stable_latest TESTS='022,024'
- name: bionic_rust-stable_latest-TEST_BACKEND_NONNATIVE
env: IMAGE_TAG=bionic_rust-stable_latest TESTS='025'
- name: bionic_rust-stable_latest-TEST_PROOF_SYSTEMS
env: IMAGE_TAG=bionic_rust-stable_latest TESTS='023'
- name: bionic_rust-stable_latest-TEST_ASM
env: IMAGE_TAG=bionic_rust-stable_latest TESTS='030'