summaryrefslogtreecommitdiff
path: root/.circleci
diff options
context:
space:
mode:
authorJoseph Herlant <aerostitch@users.noreply.github.com>2019-11-01 18:11:08 -0700
committerGitHub <noreply@github.com>2019-11-01 18:11:08 -0700
commitf334e21516af6c1cb0b96d0d341d262586c33b9b (patch)
tree04d0792dd0c26770f8eb10b38dfea3b5c07e8543 /.circleci
parent0a9c9c410381c80703f6faabfbdc7142497cbb46 (diff)
downloadnavit-f334e21516af6c1cb0b96d0d341d262586c33b9b.tar.gz
Move checkstyle into the sanity_check phase and use a pre-baked image for running it (#936)
* Move checkstyle into the sanity_check phase * add missing dependency * Switch to the pre-cooked image to avoid installing on every builds
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/config.yml12
1 files changed, 5 insertions, 7 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index d1a085d23..bb542a94d 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -4,15 +4,16 @@ defaults: &defaults
- image: ubuntu:18.04
jobs:
sanity_check:
- <<: *defaults
+ docker:
+ - image: navit/sanity_check:latest
steps:
- checkout
- run:
- name: Setup requirements
- command: bash scripts/setup_sanitycheck_requirements.sh
- - run:
name: run sanity check script
command: bash scripts/ci_sanity_checks.sh
+ - run:
+ name: Run CheckStyle Test
+ command: ./gradlew checkstyleMain
build_linux:
<<: *defaults
steps:
@@ -97,9 +98,6 @@ jobs:
mkdir /home/circleci/code/test-results
./gradlew lint test
- run:
- name: Run CheckStyle Test
- command: ./gradlew checkstyleMain
- - run:
name: Run Javadoc
command: ./gradlew generateDebugJavadoc
- store_artifacts: