summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorSam Tay <sam.chong.tay@gmail.com>2020-06-25 02:48:22 -0700
committerSam Tay <sam.chong.tay@gmail.com>2020-06-25 03:37:21 -0700
commit222710ce69e762bf49980c3805d2dfe686f793b2 (patch)
tree059317005857f55a7b33739a1e04dffd76b640fc /ci
parent1c90502a3c4f735a7546a1147b100946f1a5af01 (diff)
Fix deploy scriptsv0.3.2
Diffstat (limited to 'ci')
-rw-r--r--ci/before_deploy.sh3
-rw-r--r--ci/script.sh1
2 files changed, 3 insertions, 1 deletions
diff --git a/ci/before_deploy.sh b/ci/before_deploy.sh
index 7525d8c..db96734 100644
--- a/ci/before_deploy.sh
+++ b/ci/before_deploy.sh
@@ -4,6 +4,7 @@ set -ex
main() {
local src=$(pwd) \
+ features="--features reqwest/native-tls-vendored" \
stage=
case $TRAVIS_OS_NAME in
@@ -17,7 +18,7 @@ main() {
test -f Cargo.lock || cargo generate-lockfile
- cross rustc --bin so --target $TARGET --release -- -C lto
+ cross rustc $features --bin so --target $TARGET --release -- -C lto
cp target/$TARGET/release/so $stage/
diff --git a/ci/script.sh b/ci/script.sh
index 6c3703f..85ebfa6 100644
--- a/ci/script.sh
+++ b/ci/script.sh
@@ -5,6 +5,7 @@ set -ex
main() {
local features="--features reqwest/native-tls-vendored"
if [[ $TARGET =~ .*-freebsd ]]; then
+ # N.B. still broken
features="--features reqwest/rustls-tls"
fi