forked from loafle/openapi-generator-original
Move "ensure-up-to-date" execution to CircleCI (#944)
This commit is contained in:
parent
baa70e51fe
commit
f95dfbef75
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user