diff --git a/.travis.yml b/.travis.yml index f441ec064..02132edca 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,10 +13,10 @@ # limitations under the License. script: -- BALLERINA_VERSION=${VERSION:-0.982.1-SNAPSHOT} +- BALLERINA_VERSION=${VERSION:-0.983.0} - echo -e "\033[36m${BALLERINA_VERSION}\033[m" -- DISTRIBUTION_NAME=ballerina-platform-${BALLERINA_VERSION} +- DISTRIBUTION_NAME=ballerina-${BALLERINA_VERSION} - echo -e "\033[36m${DISTRIBUTION_NAME}\033[m" - DOWNLOAD_CHANNEL=${CHANNEL:-nightly} @@ -25,10 +25,10 @@ script: - DOWNLOAD_LOCATION=${URL:-https://product-dist.ballerina.io} - echo -e "\033[36m${DOWNLOAD_LOCATION}\033[m" -- echo -e "\033[36m${DOWNLOAD_LOCATION}/${DOWNLOAD_CHANNEL}/${BALLERINA_VERSION}/${DISTRIBUTION_NAME}.zip\033[m" -- wget ${DOWNLOAD_LOCATION}/${DOWNLOAD_CHANNEL}/${BALLERINA_VERSION}/${DISTRIBUTION_NAME}.zip +- echo -e "\033[36m${DOWNLOAD_LOCATION}/${DOWNLOAD_CHANNEL}/${BALLERINA_VERSION}${RC:-}/${DISTRIBUTION_NAME}${RC:-}.zip\033[m" +- wget ${DOWNLOAD_LOCATION}/${DOWNLOAD_CHANNEL}/${BALLERINA_VERSION}${RC:-}/${DISTRIBUTION_NAME}${RC:-}.zip -- unzip -q ${DISTRIBUTION_NAME}.zip +- unzip -q ${DISTRIBUTION_NAME}${RC:-}.zip - export PATH=${PATH}:$(pwd)/${DISTRIBUTION_NAME}/bin