From fa2b29812fdb1f1d52556c0d572e81bf0ed6afe7 Mon Sep 17 00:00:00 2001 From: JuanLeon Lahoz Date: Mon, 26 Apr 2021 09:48:09 +0200 Subject: [PATCH] Add release section and musl targets in travis configuration --- .travis.yml | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 2d2b8ac..ce43e02 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,13 +1,22 @@ language: rust jobs: include: - # Stable channel. - os: linux rust: stable env: TARGET=x86_64-unknown-linux-gnu + - os: linux + rust: stable + env: TARGET=x86_64-unknown-linux-musl - os: linux rust: stable env: TARGET=i686-unknown-linux-gnu + - os: linux + rust: stable + env: TARGET=i686-unknown-linux-musl + - os: osx + osx_image: xcode11.4 # Catalina + rust: stable + env: TARGET=x86_64-apple-darwin env: global: @@ -17,6 +26,16 @@ env: # Used on the deployment script - PROJECT_NAME=lowcharts +deploy: + provider: releases + api_key: + secure: "ERwRPSWDU9cBE5DysvxPBlTz+BYVUjk+NpZZW1MWgd1MLj2HyW618QyJ025F57GaOed8kVvPXaSJ6wnsOhSnz5r3zI4kZueN5AwC6slAnmLqro6/5QBmCtKaK1Di72xJoF1iMh78jRVmIt+NuMo3crduZke+1JRcWnOe/qasDCfiRxfAJwRc4rj3Y0bfPLC1AVOasD4sUmaafwJAOjyuBJW7x7vu1fQTHs/QEThnoqdHJSTR8htd77ff7Iv+3+kFWYALOA2S8A8CGpEvHEAs6Yvt0ndaBqI/wfG6GUPZYErzJc2ZsVqjvWQexVw+J8pW54uOaDNfg6UTOMPTBdZC+Nz3VkIZehEHcNDjPCkp3am4DKubmhZz2XK8FvY5fNIRR+7dKb61USvzS9dv8INYrwjqFUOGqgS2TzzaqDELXsKyN+mMrr1VWc6RfnBnt1v9GH6KBwySYZbAwDaGapFOmYdj9/bg7wfD+7xk2cmq+8R4vukpEIHcQs8dNusYltQ/btYL0uTGToCQnjB3djSY30DUa+dvpgRzhL0Mw4CsXEjdOVCRP8sJpx/lUeRZv4ZKjYTKv96WBBxTlbNV55R9PPcr4d5uTqu+iSg0vDnDejyuRyPi9klj6bpiFumjLNqSNnJA7nQq7RWE9f8Xew7VEmNJd5MmJfS7KQiT8B0LGkw=" + file: + - $PROJECT_NAME-$TRAVIS_TAG-$TARGET.* + skip_cleanup: true + on: + tags: true + install: # prevent target re-add error from rustup - if [[ $TRAVIS_OS_NAME = linux && $HOST != $TARGET ]]; then rustup target add $TARGET; fi