remove travis and appveyor CI files (#732)

This commit is contained in:
Sean McArthur
2019-12-10 12:24:25 -08:00
committed by GitHub
parent e6b286977e
commit 3a3a7c512d
2 changed files with 0 additions and 114 deletions

View File

@@ -1,19 +0,0 @@
environment:
matrix:
- TARGET: x86_64-pc-windows-msvc
- TARGET: i686-pc-windows-msvc
- TARGET: x86_64-pc-windows-gnu
MINGW_PATH: 'C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin'
- TARGET: i686-pc-windows-gnu
MINGW_PATH: 'C:\MinGW\bin'
install:
- curl -sSf -o rustup-init.exe https://win.rustup.rs/
- rustup-init.exe -y --default-toolchain beta --default-host %TARGET%
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
- if defined MINGW_PATH set PATH=%PATH%;%MINGW_PATH%
- rustc -vV
- cargo -vV
build: false
test_script:
- cargo test --features blocking,gzip,json -- --test-threads=1
skip_branch_with_pr: true

View File

@@ -1,95 +0,0 @@
language: rust
matrix:
fast_finish: true
allow_failures:
- rust: nightly
include:
- os: osx
rust: stable
- rust: stable
- rust: beta
- rust: nightly
# Disable default-tls
- rust: stable
env: FEATURES="--no-default-features"
# rustls-tls
#- rust: stable
# env: FEATURES="--no-default-features --features rustls-tls"
# default-tls and rustls-tls
#- rust: stable
# env: FEATURES="--features rustls-tls"
# optional cookies
- rust: stable
env: FEATURES="--features cookies"
# optional blocking
- rust: stable
env: FEATURES="--features blocking"
# optional gzip
- rust: stable
env: FEATURES="--features gzip"
# optional json
- rust: stable
env: FEATURES="--features json"
# optional unstable-stream
- rust: stable
env: FEATURES="--features unstable-stream"
# socks
#- rust: stable
# env: FEATURES="--features socks"
# trust-dns
#- rust: stable
# env: FEATURES="--features trust-dns"
# wasm
- name: "WASM"
env: TARGET=wasm32-unknown-unknown
rust: stable
install: rustup target add "$TARGET"
script: cargo check --target "$TARGET"
# android
- rust: stable
env: TARGET=aarch64-linux-android
before_install:
- wget https://dl.google.com/android/repository/android-ndk-r19c-linux-x86_64.zip;
- unzip -qq android-ndk*.zip;
- android-ndk*/build/tools/make_standalone_toolchain.py --arch arm64 --api 21 --install-dir /tmp/android-toolchain;
- export PATH=/tmp/android-toolchain/bin:$PATH;
install: rustup target add "$TARGET"
# disable default-tls feature since cross-compiling openssl is dragons
script: cargo build --target "$TARGET" --no-default-features
# Check rustfmt
- name: "rustfmt check"
rust: stable
install: rustup component add rustfmt
script: cargo fmt -- --check
# minimum version
- rust: 1.39.0
script: cargo check
sudo: false
dist: trusty
env:
global:
- REQWEST_TEST_BODY_FULL=1
- RUST_BACKTRACE=1
script:
- cargo build $FEATURES
- cargo test -v $FEATURES --features __internal_proxy_sys_no_cache -- --test-threads=1