Skip to content

Commit

Permalink
Merge pull request wso2#8 from ballerina-guides/Shan1024-patch-1
Browse files Browse the repository at this point in the history
Improve Travis config
  • Loading branch information
Anoukh Jayawardena committed Oct 17, 2018
2 parents 13ced04 + c073a9a commit c6ba23a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,24 @@
# limitations under the License.

script:
- BALLERINA_VERSION="${VERSION:-0.980.2-SNAPSHOT}"
- BALLERINA_VERSION=${VERSION:-0.982.1-SNAPSHOT}
- echo -e "\033[36m${BALLERINA_VERSION}\033[m"

- DISTRIBUTION_NAME=ballerina-platform-$BALLERINA_VERSION
- DISTRIBUTION_NAME=ballerina-platform-${BALLERINA_VERSION}
- echo -e "\033[36m${DISTRIBUTION_NAME}\033[m"

- DOWNLOAD_CHANNEL="${CHANNEL:-nightly}"
- DOWNLOAD_CHANNEL=${CHANNEL:-nightly}
- echo -e "\033[36m${DOWNLOAD_CHANNEL}\033[m"

- DOWNLOAD_LOCATION="${URL:-https://product-dist.ballerina.io}"
- 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}/${DISTRIBUTION_NAME}.zip\033[m"
- wget ${DOWNLOAD_LOCATION}/${DOWNLOAD_CHANNEL}/${BALLERINA_VERSION}/${DISTRIBUTION_NAME}.zip

- unzip -q $DISTRIBUTION_NAME.zip
- unzip -q ${DISTRIBUTION_NAME}.zip

- export PATH=$PATH:$(pwd)/$DISTRIBUTION_NAME/bin
- export PATH=${PATH}:$(pwd)/${DISTRIBUTION_NAME}/bin

- ballerina version

Expand Down

0 comments on commit c6ba23a

Please sign in to comment.