Move "ensure-up-to-date" execution to CircleCI (#944)

This commit is contained in:
Jérémie Bresson 2018-08-31 09:16:41 +02:00 committed by GitHub
parent baa70e51fe
commit f95dfbef75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 2 deletions

View File

@ -8,6 +8,9 @@ if [ "$NODE_INDEX" = "1" ]; then
cp CI/pom.xml.circleci pom.xml
java -version
mvn --quiet verify -Psamples
elif [ "$NODE_INDEX" = "2" ]; then
echo "Running node $NODE_INDEX to test ensure-up-to-date"
./bin/utils/ensure-up-to-date
else
echo "Running node $NODE_INDEX to test CI/pom.xml.circleci.java7 ..."
sudo update-java-alternatives -s java-1.7.0-openjdk-amd64

View File

@ -10,7 +10,7 @@ jobs:
machine:
docker_layer_caching: true
working_directory: ~/OpenAPITools/openapi-generator
parallelism: 2
parallelism: 3
shell: /bin/bash --login
environment:
CIRCLE_ARTIFACTS: /tmp/circleci-artifacts

View File

@ -12,7 +12,7 @@ build:
ci:
- mvn --quiet clean install
# ensure all modifications created by 'mature' generators are in the git repo
- ./bin/utils/ensure-up-to-date
# moved to CircleCI ./bin/utils/ensure-up-to-date
# prepare environment for tests
- sudo apt-get update -qq
# install stack