From df24c7a30520f62218daac5f2804f54a4ec7e71d Mon Sep 17 00:00:00 2001 From: Shixin Zeng Date: Tue, 13 Sep 2016 16:14:40 -0400 Subject: [PATCH] Zip r3-core and libtcc1.a for uploading --- .travis.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4b74afa949..b039ffe9c1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -115,18 +115,14 @@ script: - if [ "${OS_ID}" = "0.4.40" ]; then ./r3-core --do 'print {OK}' | grep OK; fi # Rename files before uploading - - cp ./r3-core ${TRAVIS_BUILD_DIR}/r3-core-${TRAVIS_COMMIT}-${OS_ID}-${BUILD_TYPE}-CPP${R3_CPP} - - cp tcc/libtcc1.a ${TRAVIS_BUILD_DIR}/libtcc1.a-${TRAVIS_COMMIT}-${OS_ID}-${BUILD_TYPE}-CPP${R3_CPP} + - zip r3-core-${TRAVIS_COMMIT}-${OS_ID}-${BUILD_TYPE}-CPP${R3_CPP}.zip r3-core tcc/libtcc1.a deploy: provider: releases api_key: secure: V6a5VzBv+ut3hKZKMmnuY4Urzc4QA/EBcfarve837q+7p9QgDseiuW93yUVys7LacIl8D6y13m71QBxzG6LC9WnttNgfy+PfyrMbWfaMvg9zLQQ1jTGKWjW6Fn4/xyU0NYyrjvgxW2itQ4/r9r0lcmKHbsAcm/ZhvLzg4o3dnc0= file: - - ${TRAVIS_BUILD_DIR}/r3-core-${TRAVIS_COMMIT}-${OS_ID}-${BUILD_TYPE}-CPP${R3_CPP} - - ${TRAVIS_BUILD_DIR}/libtcc1.a-${TRAVIS_COMMIT}-${OS_ID}-${BUILD_TYPE}-CPP${R3_CPP} + - r3-core-${TRAVIS_COMMIT}-${OS_ID}-${BUILD_TYPE}-CPP${R3_CPP}.zip skip_cleanup: true #or, Travis CI deletes all the files created during the build on: tags: true - #repo: zsx/r3 - #branch: user-native