From 21e9c8d83ba28b153537df9d8d730c08c6dd52f8 Mon Sep 17 00:00:00 2001 From: wyhaya Date: Tue, 17 Mar 2020 21:15:10 +0800 Subject: [PATCH] Delete .travis.yml --- .travis.yml | 62 --------------------------------------------------- src/config.rs | 2 +- 2 files changed, 1 insertion(+), 63 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 5490032..0000000 --- a/.travis.yml +++ /dev/null @@ -1,62 +0,0 @@ - -language: rust -services: docker -sudo: required - -env: - global: - - CRATE_NAME=updns - -matrix: - include: - - - env: TARGET=linux - os: linux - - - env: TARGET=osx - os: osx - - - env: TARGET=windows - os: windows - -before_install: - - set -e - - rustup component add rustfmt - -script: - - cargo fmt --all -- --check - - cargo test --release - - cargo build --release - -after_script: set +e - -before_deploy: - - cd ./target/release/ - - test -r $CRATE_NAME && zip $CRATE_NAME-$TRAVIS_TAG-$TARGET.zip $CRATE_NAME || mv $CRATE_NAME.exe $CRATE_NAME-$TRAVIS_TAG-$TARGET.exe - - cd ../../ - -deploy: - - - provider: releases - api_key: - secure: $GITHUB_TOKEN - file_glob: true - file: ./target/release/$CRATE_NAME-$TRAVIS_TAG-$TARGET.* - skip_cleanup: true - on: - tags: true - - - provider: cargo - token: $CARGO_TOKEN - on: - condition: $TARGET = linux - tags: true - -branches: - only: - - /^v\d+\.\d+\.\d+.*$/ - - master - -notifications: - email: - on_success: never \ No newline at end of file diff --git a/src/config.rs b/src/config.rs index 8591999..f72395e 100644 --- a/src/config.rs +++ b/src/config.rs @@ -283,6 +283,6 @@ impl Parser { Ok(config) } - .boxed() + .boxed() } }