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
|
cp CI/pom.xml.circleci pom.xml
|
||||||
java -version
|
java -version
|
||||||
mvn --quiet verify -Psamples
|
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
|
else
|
||||||
echo "Running node $NODE_INDEX to test CI/pom.xml.circleci.java7 ..."
|
echo "Running node $NODE_INDEX to test CI/pom.xml.circleci.java7 ..."
|
||||||
sudo update-java-alternatives -s java-1.7.0-openjdk-amd64
|
sudo update-java-alternatives -s java-1.7.0-openjdk-amd64
|
||||||
|
@ -10,7 +10,7 @@ jobs:
|
|||||||
machine:
|
machine:
|
||||||
docker_layer_caching: true
|
docker_layer_caching: true
|
||||||
working_directory: ~/OpenAPITools/openapi-generator
|
working_directory: ~/OpenAPITools/openapi-generator
|
||||||
parallelism: 2
|
parallelism: 3
|
||||||
shell: /bin/bash --login
|
shell: /bin/bash --login
|
||||||
environment:
|
environment:
|
||||||
CIRCLE_ARTIFACTS: /tmp/circleci-artifacts
|
CIRCLE_ARTIFACTS: /tmp/circleci-artifacts
|
||||||
|
@ -12,7 +12,7 @@ build:
|
|||||||
ci:
|
ci:
|
||||||
- mvn --quiet clean install
|
- mvn --quiet clean install
|
||||||
# ensure all modifications created by 'mature' generators are in the git repo
|
# 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
|
# prepare environment for tests
|
||||||
- sudo apt-get update -qq
|
- sudo apt-get update -qq
|
||||||
# install stack
|
# install stack
|
||||||
|
Loading…
x
Reference in New Issue
Block a user