Delete .travis.yml

This commit is contained in:
wyhaya
2020-03-17 21:15:10 +08:00
parent 2c501b9fe4
commit 21e9c8d83b
2 changed files with 1 additions and 63 deletions

View File

@@ -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

View File

@@ -283,6 +283,6 @@ impl Parser {
Ok(config)
}
.boxed()
.boxed()
}
}