From 8dc9a714235cef86538ed66415233e88abdd3273 Mon Sep 17 00:00:00 2001 From: zuohuadong Date: Fri, 20 Oct 2017 14:59:33 +0800 Subject: [PATCH] Update .travis.yml --- .travis.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index cbb2d4d1..aafaa5f6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,7 @@ matrix: - node_js: node env: FOR=jsp - node_js: node - env: FOR=.net + env: FOR=net - node_js: node env: FOR=asp @@ -30,10 +30,11 @@ install: - xz -z9 neditor.tar script: - - sh -c "if [ '$FOR' = '.net' ]; then curl -T neditor.tar.xz http://v0.api.upyun.com/notadd/download/neditor/Nediotr-net-master.tar.xz -u "$UPYUN" -v; fi" - - sh -c "if [ '$FOR' = 'asp' ]; then curl -T neditor.tar.xz http://v0.api.upyun.com/notadd/download/neditor/Nediotr-asp-master.tar.xz -u "$UPYUN" -v; fi" - - sh -c "if [ '$FOR' = 'php' ]; then curl -T neditor.tar.xz http://v0.api.upyun.com/notadd/download/neditor/Nediotr-php-master.tar.xz -u "$UPYUN" -v; fi" - - sh -c "if [ '$FOR' = 'jsp' ]; then curl -T neditor.tar.xz http://v0.api.upyun.com/notadd/download/neditor/Nediotr-jsp-master.tar.xz -u "$UPYUN" -v; fi" + - curl -T neditor.tar.xz http://v0.api.upyun.com/notadd/download/neditor/Nediotr-"FOR"-master.tar.xz -u "$UPYUN" -v + #- sh -c "if [ '$FOR' = '.net' ]; then curl -T neditor.tar.xz http://v0.api.upyun.com/notadd/download/neditor/Nediotr-net-master.tar.xz -u "$UPYUN" -v; fi" + #- sh -c "if [ '$FOR' = 'asp' ]; then curl -T neditor.tar.xz http://v0.api.upyun.com/notadd/download/neditor/Nediotr-asp-master.tar.xz -u "$UPYUN" -v; fi" + #- sh -c "if [ '$FOR' = 'php' ]; then curl -T neditor.tar.xz http://v0.api.upyun.com/notadd/download/neditor/Nediotr-php-master.tar.xz -u "$UPYUN" -v; fi" + #- sh -c "if [ '$FOR' = 'jsp' ]; then curl -T neditor.tar.xz http://v0.api.upyun.com/notadd/download/neditor/Nediotr-jsp-master.tar.xz -u "$UPYUN" -v; fi" notifications: webhooks: