Skip to content

Commit dda88a6

Browse files
aidanhsluser
authored andcommitted
Build distributed client and server in travis
1 parent 5524939 commit dda88a6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ matrix:
99

1010
# rustc version compat
1111
- rust: 1.27.0 # oldest supported version, keep in sync with README.md
12+
- rust: 1.27.0
13+
env: DIST_SCCACHE=1
1214
- rust: beta
1315
- rust: nightly
1416

@@ -28,6 +30,7 @@ matrix:
2830

2931
before_script:
3032
- if [[ "${TRAVIS_RUST_VERSION}" = "nightly" ]]; then export EXTRA_FEATURES=unstable; fi
33+
- if [[ "${DIST_SCCACHE}" = "1" ]]; then export EXTRA_FEATURES="dist-client dist-server"; fi
3134

3235
script:
3336
- cargo build --verbose --features="all ${EXTRA_FEATURES}"

0 commit comments

Comments
 (0)