2017-09-18 10:00:19 +03:00
|
|
|
language: java
|
|
|
|
jdk:
|
2019-07-25 06:25:34 +03:00
|
|
|
- openjdk8
|
2018-05-15 12:15:45 +03:00
|
|
|
|
2019-02-28 04:48:46 +03:00
|
|
|
sudo: required
|
|
|
|
install: true
|
2018-06-12 08:43:33 +03:00
|
|
|
|
2018-10-26 12:17:43 +03:00
|
|
|
jobs:
|
|
|
|
include:
|
|
|
|
- stage: test
|
|
|
|
script:
|
2019-09-11 23:05:05 +03:00
|
|
|
- if [ -z "$CLIENT_ID" ]; then travis_terminate 0; fi
|
2019-05-09 06:04:24 +03:00
|
|
|
- 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
|
2019-07-27 06:13:32 +03:00
|
|
|
- chmod +x ./src/libs/travis-wait-mvn-build.sh && ./src/libs/travis-wait-mvn-build.sh
|
2018-12-18 09:32:38 +03:00
|
|
|
- bash <(curl -s https://codecov.io/bash)
|
2018-10-26 12:17:43 +03:00
|
|
|
- stage: performance-test
|
|
|
|
script:
|
|
|
|
- mvn -P performance-test clean verify
|
|
|
|
if: branch = master AND type != pull_request
|
2018-12-18 09:32:38 +03:00
|
|
|
|