spring-data-cosmosdb/.travis.yml

30 строки
1.1 KiB
YAML
Исходник Постоянная ссылка Обычный вид История

2017-09-18 10:00:19 +03:00
language: java
jdk:
- openjdk8
sudo: required
install: true
jobs:
include:
- stage: test
script:
- if [ -z "$CLIENT_ID" ]; then travis_terminate 0; fi
- sudo apt-get install python3.5 python3.5-dev
- curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
- sudo apt-get update
- sudo apt-get install curl apt-transport-https lsb-release gnupg
- curl -sL https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/microsoft.asc.gpg > /dev/null
- AZ_REPO=$(lsb_release -cs) && echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ $AZ_REPO main" | sudo tee /etc/apt/sources.list.d/azure-cli.list
- sudo apt-get update
- sudo apt-get install azure-cli
# - az --help
# - chmod +x install.sh && ./install.sh
- chmod +x ./src/libs/travis-wait-mvn-build.sh && ./src/libs/travis-wait-mvn-build.sh
- bash <(curl -s https://codecov.io/bash)
- stage: performance-test
script:
- mvn -P performance-test clean verify
if: branch = master AND type != pull_request