From de3a093be9c1c160c60c92d4c2239a650babdf3e Mon Sep 17 00:00:00 2001 From: gaoyunpeng Date: Fri, 4 Jan 2019 17:46:55 +0800 Subject: [PATCH] add install python --- .circleci/config.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 02f7a045..6ab8c2eb 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -24,9 +24,13 @@ jobs: - ~/.m2 - run: name: "Running build" + command: ./mvnw -Pspring -Pdocs clean install -U -nsu --batch-mode -Dmaven.test.redirectTestOutputToFile=true -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn + - run: + name: "look and install python" command: | - ./mvnw cobertura:cobertura - ./mvnw -Pspring -Pdocs clean install -U -nsu --batch-mode -Dmaven.test.redirectTestOutputToFile=true -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn + python -V + sudo bash -c "yes | add-apt-repository ppa:jonathonf/python-3.6 && apt-get update && apt-get install -y python3.6" + python -V - run: name: "Aggregate test results" when: always