put before_install ahead and add install (#336) (#339)

This commit is contained in:
weiping 2018-05-21 13:14:21 +08:00 коммит произвёл GitHub
Родитель 8d4080bdf2
Коммит 347b5eebb6
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 10 добавлений и 7 удалений

Просмотреть файл

@ -2,7 +2,16 @@ language: java
jdk:
- oraclejdk8
script: "./mvnw clean cobertura:cobertura"
before_install:
- sudo apt-get -y install python3-pip python-dev
- echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ wheezy main" | sudo tee /etc/apt/sources.list.d/azure-cli.list
- sudo apt-key adv --keyserver packages.microsoft.com --recv-keys 417A0893
- sudo apt-get install apt-transport-https
- sudo apt-get update && sudo apt-get install azure-cli
install: "./mvnw -B install -DskipTests=true"
script: "./mvnw -B verify cobertura:cobertura"
env:
global:
@ -13,10 +22,4 @@ env:
#TENANT_ID
- secure: D70FPrd/ZhCDKMBau3Iay0j0FdjREYagehTfCnN19oPqjJQKrTHJjmOLXjUeeWRv78h3SBVWujZMyLAaEiBzpUrILjHmRP87seE3XQoVe4JurBlmIAaAD2fV9ahZDMxSNnMqNu3jaJI5X141TfOqwITmo7JY9kzvmVnDYciOgfdMlUXR2FeUT6ldxqo488MyXioZloZ8BPNNFs12tSMYPohKUIZRDBamy4quhQITxtBAaeAIkAtt0dDnsGKEHXy5hkj9186MJUSQaHZFTfa4k8T9bamQePAkSv4g/HMmoJDL5oh9FwST6K1rBlilrQzw3vi0LJJmSj6qaMuk4jzewM+bqMi4GjSV8wHSgm6IuXNmbzOnIXDbUPAym+JrM10BumH+fZJSAaxmpVnKzyha8O4ANA+DP9ayxE5hwIypn7x9hcwfOod4ugj6mfyHR4HcpZlIKbWnA5s+oGC3frTMdiF8FgkBm/GIFCEgSiHEwUkWCWQw1yldfEG+D1Fyzi137J9hJ7kMWyfzTl7OA0EgSdcffJlZzk9fwJuUDLuRGWA7Y3o/Ry17uI1TmBB26qDqFj7DYqNrzRB8G/CHXUlv9tsuQ9Q3z0vsc57AolqJ4QlAzn+LYdBcoNyrdi/8vfIfYqEZ/VCuwHaLk0fcqKNLIyJgxlvpP28/Vz+UrB6z88c=
before_install:
- sudo apt-get -y install python3-pip python-dev
- echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ wheezy main" | sudo tee /etc/apt/sources.list.d/azure-cli.list
- sudo apt-key adv --keyserver packages.microsoft.com --recv-keys 417A0893
- sudo apt-get install apt-transport-https
- sudo apt-get update && sudo apt-get install azure-cli