From 62f0ce5baf26e97bf138929575096745012600d9 Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Mon, 17 Feb 2020 17:58:38 +0600 Subject: [PATCH] travis build --- .github/workflows/main.yml | 67 -------------------------------------- .travis.yml | 5 ++- README.md | 5 ++- 3 files changed, 4 insertions(+), 73 deletions(-) delete mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index 693291fd..00000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,67 +0,0 @@ -name: CI - -on: [push, pull_request] - -env: - VCPKGRS_DYNAMIC: 1 - -jobs: - build_and_test: - strategy: - fail-fast: false - matrix: - toolchain: - - x86_64-pc-windows-msvc - # - i686-pc-windows-msvc - - x86_64-apple-darwin - version: - - stable - - nightly - include: - - toolchain: x86_64-pc-windows-msvc - os: windows-latest - arch: x64 - # - toolchain: i686-pc-windows-msvc - # os: windows-latest - # arch: x86 - - 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 }} - default: true - - - name: Install OpenSSL - if: matrix.os == 'windows-latest' - run: | - vcpkg integrate install - vcpkg install openssl:${{ matrix.arch }}-windows - - - name: check nightly - if: matrix.version == 'nightly' - uses: actions-rs/cargo@v1 - with: - command: check - args: --all --benches --bins --examples --tests - - - name: check stable - if: matrix.version == 'stable' - uses: actions-rs/cargo@v1 - with: - command: check - args: --all --bins --examples --tests - - - name: tests - if: matrix.toolchain != 'x86_64-pc-windows-gnu' - uses: actions-rs/cargo@v1 - with: - command: test - args: --all --all-features -- --nocapture diff --git a/.travis.yml b/.travis.yml index f10f82a4..a9eb5336 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,12 +35,11 @@ before_script: script: - cargo update - - cargo check --all --no-default-features + - cargo check --all - | if [[ "$TRAVIS_RUST_VERSION" == "stable" || "$TRAVIS_RUST_VERSION" == "beta" ]]; then cargo test --all-features --all -- --nocapture - cd actix-http; cargo test --no-default-features --features="rustls" -- --nocapture; cd .. - cd awc; cargo test --no-default-features --features="rustls" -- --nocapture; cd .. + cd ntex; cargo test --no-default-features --features="rustls" -- --nocapture; cd .. fi # Upload docs diff --git a/README.md b/README.md index 22929267..4d68547a 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,7 @@

ntex

This is personal project, please, do not use it

-[![Build Status](https://travis-ci.org/actix/actix-web.svg?branch=master)](https://travis-ci.org/actix/actix-web) -[![codecov](https://codecov.io/gh/actix/actix-web/branch/master/graph/badge.svg)](https://codecov.io/gh/actix/actix-web) -[![crates.io](https://meritbadge.herokuapp.com/actix-web)](https://crates.io/crates/actix-web) +[![Build Status](https://travis-ci.org/fafhrd91/ntex.svg?branch=master)](https://travis-ci.org/fafhrd91/ntex) +[![codecov](https://codecov.io/gh/fafhrd91/btex/branch/master/graph/badge.svg)](https://codecov.io/gh/fafhrd91/ntex)