Skip to content
Myr

Remove Travis configuration

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Tolnay · committed by David Tolnay · parent cd836eb · Browse files · 2 files+1 added−113 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+1 added−113 removed

  • other:+1 added−113 removed

2 files+1 added−113 removed

modified:.github/workflows/ci.yml+1 added-1 removed
deleted:.travis.yml-112 removed
1language: rust23matrix:4 include:5 - rust: stable6 script:7 - cd "${TRAVIS_BUILD_DIR}/serde"8 - cargo build --features rc9 - cargo build --no-default-features10 - cd "${TRAVIS_BUILD_DIR}/serde_test"11 - cargo build12 - cargo test --features serde/derive,serde/rc1314 - rust: beta15 script:16 - cd "${TRAVIS_BUILD_DIR}/serde"17 - cargo build --features rc18 - cd "${TRAVIS_BUILD_DIR}/test_suite"19 - cargo test2021 - rust: nightly22 script:23 - cd "${TRAVIS_BUILD_DIR}/serde"24 - cargo build25 - cargo build --no-default-features26 - cargo build --no-default-features --features alloc27 - cargo build --no-default-features --features rc,alloc28 - cargo test --features derive,rc,unstable29 - cd "${TRAVIS_BUILD_DIR}/test_suite"30 - cargo test --features unstable31 - cd "${TRAVIS_BUILD_DIR}/test_suite/no_std"32 - cargo build3334 - rust: 1.13.035 script:36 - cd "${TRAVIS_BUILD_DIR}/serde"37 - cargo build --features rc38 - cargo build --no-default-features39 - cd "${TRAVIS_BUILD_DIR}/serde_test"40 - cargo build4142 - rust: 1.19.043 - rust: 1.20.044 - rust: 1.21.045 - rust: 1.25.046 - rust: 1.26.04748 # Work around failing to parse manifest because editions are unstable.49 - rust: 1.27.050 before_script: sed -i /test_suite/d Cargo.toml51 - rust: 1.28.052 before_script: sed -i /test_suite/d Cargo.toml5354 - rust: 1.31.055 script:56 - cd "${TRAVIS_BUILD_DIR}/serde_derive"57 - cargo build5859 - rust: 1.34.06061 - rust: 1.36.062 script:63 - cd "${TRAVIS_BUILD_DIR}/serde"64 - cargo build --no-default-features --features alloc6566 - name: Clippy67 install:68 - CLIPPY_NIGHTLY=nightly-$(curl -s https://rust-lang.github.io/rustup-components-history/x86_64-unknown-linux-gnu/clippy)69 - echo "Latest nightly with Clippy is $CLIPPY_NIGHTLY"70 - rustup set profile minimal71 - rustup default "$CLIPPY_NIGHTLY"72 - rustup component add clippy73 script:74 # The need for -Aredundant_field_names here is a Clippy bug.75 # https://github.com/rust-lang/rust-clippy/issues/535676 - cargo clippy -- -D clippy::all -A clippy::redundant_field_names77 - cd "${TRAVIS_BUILD_DIR}/serde"78 - cargo clippy --features rc,unstable -- -D clippy::all -A clippy::redundant_field_names79 - cd "${TRAVIS_BUILD_DIR}/serde_derive"80 - cargo clippy -- -D clippy::all81 - cd "${TRAVIS_BUILD_DIR}/serde_test"82 - cargo clippy -- -D clippy::all -A clippy::redundant_field_names83 - cd "${TRAVIS_BUILD_DIR}/test_suite"84 - cargo clippy --tests --features unstable -- -D clippy::all -A clippy::redundant_field_names85 - cd "${TRAVIS_BUILD_DIR}/test_suite/no_std"86 - cargo clippy -- -D clippy::all -A clippy::redundant_field_names8788 - rust: nightly89 name: Emscripten90 script:91 - CARGO_WEB_RELEASE=$(curl -L -s -H Accept:application/json https://github.com/koute/cargo-web/releases/latest)92 - CARGO_WEB_VERSION=$(echo "${CARGO_WEB_RELEASE}" | jq -r .tag_name)93 - CARGO_WEB_URL="https://github.com/koute/cargo-web/releases/download/${CARGO_WEB_VERSION}/cargo-web-x86_64-unknown-linux-gnu.gz"9495 - nvm install 996 - mkdir -p ~/.cargo/bin97 - curl -L "${CARGO_WEB_URL}" | gzip -d > ~/.cargo/bin/cargo-web98 - chmod +x ~/.cargo/bin/cargo-web99100 - cd "${TRAVIS_BUILD_DIR}/test_suite"101 - cargo web test --target=asmjs-unknown-emscripten --nodejs102 - cargo web test --target=wasm32-unknown-emscripten --nodejs103104 allow_failures:105 - name: Clippy106 - rust: nightly107 name: Emscripten108109script:110 - cd "${TRAVIS_BUILD_DIR}/serde"111 - cargo build --no-default-features112 - cargo build