Skip to content

Commit 3fdc802

Browse files
committed
Better standardize CI testing
- Fix appveyor configuration to test using --no-default-features - Change --no-default-features from a matrix option to a different command within the matrix for travis. This will reduce load by not having to spin up a whole new VM just for testing a different cargo command. - Remove obsolete comment from appveyor.yml
1 parent c3bb32b commit 3fdc802

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

Diff for: .travis.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,11 @@ rust:
55
- stable
66
- beta
77
- nightly
8-
env:
9-
- COMPILE_ARGS=("--no-default-features")
10-
- COMPILE_ARGS=()
118
os:
129
- linux
1310
- osx
1411
script:
15-
- cargo build --verbose "${COMPILE_ARGS[@]}"
16-
- cargo test --verbose "${COMPILE_ARGS[@]}" -- --skip auth
12+
- cargo build --verbose
13+
- cargo test --verbose -- --skip auth
14+
- cargo build --verbose --no-default-features
15+
- cargo test --verbose --no-default-features -- --skip auth

Diff for: appveyor.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,9 @@ install:
2929

3030
test_script:
3131
- cargo build --verbose --target %TARGET%
32-
# TODO: this doesn't test authenticated access, only parsing and non-auth calls.
33-
# We're probably OK not testing logging in on windows since it is tested on linux,
34-
# and we do test at least making HTTPS calls to the server with this, but it might
35-
# still be nice for completeness.
3632
- cargo test --verbose --target %TARGET% -- --skip auth
33+
- cargo build --verbose --target %TARGET% --no-default-features
34+
- cargo test --verbose --target %TARGET% --no-default-features -- --skip auth
3735

3836
cache:
3937
- target

0 commit comments

Comments
 (0)