forked from stellar/slingshot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
110 lines (110 loc) · 2.9 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
branches:
only:
- main
matrix:
fast_finish: true
allow_failures:
- env: ALLOW_FAILURES=1
include:
- language: ruby
ruby: 2.3
script:
- ruby check-markdown-links.rb
- language: go
go: 1.11
install: true
env: ALLOW_FAILURES=1
before_script:
- go vet ./slidechain/...
- test `gofmt -s -l ./slidechain | grep -vF /vendor/ | wc -l` -eq 0
script:
- go test -v ./slidechain/... -timeout 60m
- language: rust
rust: nightly-2019-08-19
# per https://levans.fr/rust_travis_cache.html
cache:
directories:
- /home/travis/.cargo
before_cache:
- rm -rf /home/travis/.cargo/registry
before_script:
- cd zkvm
- rustup component add rustfmt-preview
script:
- cargo fmt --all -- --check
- cargo test
- RUSTFLAGS="-C opt-level=0" cargo bench "DONOTMATCHANYBENCHMARK"
- language: rust
rust: nightly-2019-08-19
# per https://levans.fr/rust_travis_cache.html
cache:
directories:
- /home/travis/.cargo
before_cache:
- rm -rf /home/travis/.cargo/registry
before_script:
- cd spacesuit
- rustup component add rustfmt-preview
script:
- cargo fmt --all -- --check
- cargo test
- RUSTFLAGS="-C opt-level=0" cargo bench "DONOTMATCHANYBENCHMARK"
- language: rust
rust: nightly-2019-08-19
# per https://levans.fr/rust_travis_cache.html
cache:
directories:
- /home/travis/.cargo
before_cache:
- rm -rf /home/travis/.cargo/registry
before_script:
- cd keytree
- rustup component add rustfmt-preview
script:
- cargo fmt --all -- --check
- cargo test
- RUSTFLAGS="-C opt-level=0" cargo bench "DONOTMATCHANYBENCHMARK"
- language: rust
rust: nightly-2019-08-19
# per https://levans.fr/rust_travis_cache.html
cache:
directories:
- /home/travis/.cargo
before_cache:
- rm -rf /home/travis/.cargo/registry
before_script:
- cd token
- rustup component add rustfmt-preview
script:
- cargo fmt --all -- --check
- cargo test
- RUSTFLAGS="-C opt-level=0" cargo bench "DONOTMATCHANYBENCHMARK"
- language: rust
rust: nightly-2019-08-19
# per https://levans.fr/rust_travis_cache.html
cache:
directories:
- /home/travis/.cargo
before_cache:
- rm -rf /home/travis/.cargo/registry
before_script:
- cd accounts
- rustup component add rustfmt-preview
script:
- cargo fmt --all -- --check
- cargo test
- RUSTFLAGS="-C opt-level=0" cargo bench "DONOTMATCHANYBENCHMARK"
- language: rust
rust: nightly-2019-08-19
# per https://levans.fr/rust_travis_cache.html
cache:
directories:
- /home/travis/.cargo
before_cache:
- rm -rf /home/travis/.cargo/registry
before_script:
- cd demo
- rustup component add rustfmt-preview
script:
- cargo fmt --all -- --check
- cargo check