diff --git a/actix-protobuf/.travis.yml b/actix-protobuf/.travis.yml deleted file mode 100644 index 848e4421d..000000000 --- a/actix-protobuf/.travis.yml +++ /dev/null @@ -1,53 +0,0 @@ -language: rust -rust: - - stable - - beta - - nightly - -os: linux -dist: xenial - -env: - global: - - RUSTFLAGS="-C link-dead-code" - -addons: - apt: - packages: - - libcurl4-openssl-dev - - libelf-dev - - libdw-dev - - cmake - - gcc - - binutils-dev - - libiberty-dev - -# Add clippy -before_script: - - | - if [[ "$TRAVIS_RUST_VERSION" == "nightly" ]]; then - ( ( rustup component add clippy && export CLIPPY=true ) || export CLIPPY=false ); - fi - - export PATH=$PATH:~/.cargo/bin - -script: - - | - if [[ "$TRAVIS_RUST_VERSION" == "nightly" ]]; then - USE_SKEPTIC=1 cargo test - else - cargo test && cargo check --examples - fi - - | - if [[ "$TRAVIS_RUST_VERSION" == "nightly" && $CLIPPY ]]; then - cargo clippy - fi - -# Upload docs -after_success: - - | - if [[ "$TRAVIS_OS_NAME" == "linux" && "$TRAVIS_RUST_VERSION" == "nightly" ]]; then - bash <(curl https://raw.githubusercontent.com/xd009642/tarpaulin/master/travis-install.sh) - USE_SKEPTIC=1 cargo tarpaulin --out Xml - bash <(curl -s https://codecov.io/bash) - echo "Uploaded code coverage" - fi diff --git a/actix-redis/.travis.yml b/actix-redis/.travis.yml deleted file mode 100644 index cb3e21855..000000000 --- a/actix-redis/.travis.yml +++ /dev/null @@ -1,65 +0,0 @@ -language: rust -rust: - - stable - - beta - - nightly - -sudo: required -dist: trusty - -services: - - redis-server - -env: - global: - - RUSTFLAGS="-C link-dead-code" - -addons: - apt: - packages: - - libcurl4-openssl-dev - - libelf-dev - - libdw-dev - - cmake - - gcc - - binutils-dev - - libiberty-dev - -# Add clippy -before_script: - - | - if [[ "$TRAVIS_RUST_VERSION" == "nightly" ]]; then - ( ( cargo install clippy && export CLIPPY=true ) || export CLIPPY=false ); - fi - - export PATH=$PATH:~/.cargo/bin - -script: - - | - if [[ "$TRAVIS_RUST_VERSION" == "nightly" ]]; then - USE_SKEPTIC=1 cargo test - else - cargo test - fi - - | - if [[ "$TRAVIS_RUST_VERSION" == "nightly" && $CLIPPY ]]; then - cargo clippy - fi - -# Upload docs -after_success: - - | - if [[ "$TRAVIS_OS_NAME" == "linux" && "$TRAVIS_PULL_REQUEST" = "false" && "$TRAVIS_BRANCH" == "master" && "$TRAVIS_RUST_VERSION" == "stable" ]]; then - cargo doc --no-deps && - echo "" > target/doc/index.html && - git clone https://github.com/davisp/ghp-import.git && - ./ghp-import/ghp_import.py -n -p -f -m "Documentation upload" -r https://"$GH_TOKEN"@github.com/"$TRAVIS_REPO_SLUG.git" target/doc && - echo "Uploaded documentation" - fi - - - | - if [[ "$TRAVIS_OS_NAME" == "linux" && "$TRAVIS_RUST_VERSION" == "nightly" ]]; then - bash <(curl https://raw.githubusercontent.com/xd009642/tarpaulin/master/travis-install.sh) - USE_SKEPTIC=1 cargo tarpaulin --out Xml - bash <(curl -s https://codecov.io/bash) - echo "Uploaded code coverage" - fi diff --git a/actix-web-httpauth/.github/workflows/clippy-and-fmt.yml b/actix-web-httpauth/.github/workflows/clippy-and-fmt.yml deleted file mode 100644 index 3ff6c230c..000000000 --- a/actix-web-httpauth/.github/workflows/clippy-and-fmt.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: Clippy and rustfmt check - -on: - push: - branches: - - master - pull_request: - -jobs: - clippy_check: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@master - - uses: actions-rs/toolchain@v1 - with: - toolchain: nightly - components: clippy, rustfmt - override: true - - name: Clippy - uses: actions-rs/cargo@v1 - with: - command: clippy - args: --all-features - - name: rustfmt - uses: actions-rs/cargo@v1 - with: - command: fmt - args: --all -- --check diff --git a/actix-web-httpauth/.github/workflows/main.yml b/actix-web-httpauth/.github/workflows/main.yml deleted file mode 100644 index 071b73855..000000000 --- a/actix-web-httpauth/.github/workflows/main.yml +++ /dev/null @@ -1,83 +0,0 @@ -name: CI - -on: - push: - branches: - - master - pull_request: - -jobs: - build_and_test: - strategy: - fail-fast: false - matrix: - toolchain: - - x86_64-pc-windows-msvc - - x86_64-pc-windows-gnu - - x86_64-unknown-linux-gnu - - x86_64-apple-darwin - version: - - stable - - nightly - include: - - toolchain: x86_64-pc-windows-msvc - os: windows-latest - - toolchain: x86_64-pc-windows-gnu - os: windows-latest - - toolchain: x86_64-unknown-linux-gnu - os: ubuntu-latest - - toolchain: x86_64-apple-darwin - os: macOS-latest - - name: ${{ matrix.version }} - ${{ matrix.toolchain }} - runs-on: ${{ matrix.os }} - - steps: - - uses: actions/checkout@master - - - name: Install ${{ matrix.version }} - uses: actions-rs/toolchain@v1 - with: - toolchain: ${{ matrix.version }}-${{ matrix.toolchain }} - profile: minimal - override: true - - - name: Generate Cargo.lock - uses: actions-rs/cargo@v1 - with: - command: update - - name: Cache cargo registry - uses: actions/cache@v1 - with: - path: ~/.cargo/registry - key: ${{ matrix.version }}-${{ matrix.toolchain }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }} - - name: Cache cargo index - uses: actions/cache@v1 - with: - path: ~/.cargo/git - key: ${{ matrix.version }}-${{ matrix.toolchain }}-cargo-index-${{ hashFiles('**/Cargo.lock') }} - - name: Cache cargo build - uses: actions/cache@v1 - with: - path: target - key: ${{ matrix.version }}-${{ matrix.toolchain }}-cargo-build-${{ hashFiles('**/Cargo.lock') }} - - - name: checks - uses: actions-rs/cargo@v1 - with: - command: check - args: --all --bins --examples --tests - - - name: tests (stable) - if: matrix.version == 'stable' - uses: actions-rs/cargo@v1 - with: - command: test - args: --all --no-fail-fast -- --nocapture - - - name: tests (nightly) - if: matrix.version == 'nightly' - uses: actions-rs/cargo@v1 - with: - command: test - args: --all --all-features --no-fail-fast -- --nocapture diff --git a/actix-web-httpauth/.github/workflows/msrv.yml b/actix-web-httpauth/.github/workflows/msrv.yml deleted file mode 100644 index 68f1fcecc..000000000 --- a/actix-web-httpauth/.github/workflows/msrv.yml +++ /dev/null @@ -1,55 +0,0 @@ -name: Check MSRV - -on: - push: - branches: - - master - pull_request: - -jobs: - build_and_test: - strategy: - fail-fast: false - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@master - - - name: Install Rust - uses: actions-rs/toolchain@v1 - with: - toolchain: 1.39.0-x86_64-unknown-linux-gnu - profile: minimal - override: true - - name: Generate Cargo.lock - uses: actions-rs/cargo@v1 - with: - command: update - - name: Cache cargo registry - uses: actions/cache@v1 - with: - path: ~/.cargo/registry - key: msrv-cargo-registry-${{ hashFiles('**/Cargo.lock') }} - - name: Cache cargo index - uses: actions/cache@v1 - with: - path: ~/.cargo/git - key: msrv-cargo-index-${{ hashFiles('**/Cargo.lock') }} - - name: Cache cargo build - uses: actions/cache@v1 - with: - path: target - key: msrv-cargo-build-${{ hashFiles('**/Cargo.lock') }} - - - name: checks - uses: actions-rs/cargo@v1 - with: - command: check - args: --all --bins --examples --tests - - - name: tests - uses: actions-rs/cargo@v1 - with: - command: test - args: --all --no-fail-fast -- --nocapture