mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-06 18:45:23 +00:00
1b2d12286f
* run circle jobs in parallel * fix circleci file * disable parallel run * fix build type * fix circleci config parse error * move mvn install to circle.yml * revise circleci tests * trigger test failures * remove failure trigger
20 lines
457 B
Bash
Executable File
20 lines
457 B
Bash
Executable File
#!/bin/bash
|
|
|
|
NODE_INDEX=${CIRCLE_NODE_INDEX:-0}
|
|
|
|
|
|
if [ "$NODE_INDEX" = "1" ]; then
|
|
echo "Running node $NODE_INDEX to test CI/pom.xml.circleci ..."
|
|
cp CI/pom.xml.circleci pom.xml
|
|
java -version
|
|
mvn --quiet verify -Psamples
|
|
else
|
|
echo "Running node $NODE_INDEX to test CI/pom.xml.circleci.java7 ..."
|
|
sudo update-java-alternatives -s java-1.7.0-openjdk-amd64
|
|
java -version
|
|
cp CI/pom.xml.circleci.java7 pom.xml
|
|
mvn --quiet verify -Psamples
|
|
fi
|
|
|
|
|