-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from OpenAPITools/master
Bring my fork up to date with base
- Loading branch information
Showing
2,627 changed files
with
40,061 additions
and
14,908 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,27 @@ | ||
#!/bin/bash | ||
# | ||
# A bash script to run CircleCI node/test in parallel | ||
# | ||
|
||
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 | ||
echo "Running node $NODE_INDEX to test 'samples.circleci' defined in pom.xml ..." | ||
#cp CI/pom.xml.circleci pom.xml | ||
java -version | ||
mvn --quiet verify -Psamples | ||
mvn --quiet verify -Psamples.circleci | ||
elif [ "$NODE_INDEX" = "2" ]; then | ||
echo "Running node $NODE_INDEX to test ensure-up-to-date" | ||
export GO_FMT_PATH=`which gofmt` | ||
java -version | ||
#export GO_POST_PROCESS_FILE="/usr/local/bin/gofmt -w" | ||
# not formatting the code as different go versions may format the code a bit different | ||
./bin/utils/ensure-up-to-date | ||
else | ||
echo "Running node $NODE_INDEX to test CI/pom.xml.circleci.java7 ..." | ||
echo "Running node $NODE_INDEX to test 'samples.circleci.jdk7' defined in pom.xml ..." | ||
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 | ||
#cp CI/pom.xml.circleci.java7 pom.xml | ||
mvn --quiet verify -Psamples.circleci.jdk7 | ||
fi | ||
|
||
|
Oops, something went wrong.