matrixion/.ci/azure-build.yml

13 lines
433 B
YAML
Raw Normal View History

2019-05-18 03:44:32 +03:00
steps:
- script: |
export CXX=${CXX_COMPILER}
export CC=${C_COMPILER}
# Use TRAVIS_TAG if defined, or the short commit SHA otherwise
export VERSION=${TRAVIS_TAG:-$(git rev-parse --short HEAD)}
- script: |
./.ci/script.sh
sed -i -e "s/VERSION_NAME_VALUE/${VERSION}/g" ./.ci/bintray-release.json || true
cp ./.ci/bintray-release.json .
- script: |
./.ci/install.sh
export PATH=/usr/local/bin:${PATH}