Permalink
Browse files

Add JDK 9 support (#1188)

* update jmockit version

* list jvm

* test jdk9 in appveyor

* use latest version of gradle

* update to jdk9

* use openjdk9

* use default java version in appveyor

* use jdk8 docker image

* consolidate bash, ios pom into parent pom

* consolidate circlecii pom into parent pom

* remove circleci pom.xml
  • Loading branch information...
wing328 committed Oct 9, 2018
1 parent 8c0e130 commit 56c4751e74ca80e6004897230dac9f3ee6523459
Showing with 202 additions and 3,977 deletions.
  1. +10 −7 CI/circle_parallel.sh
  2. +0 −942 CI/pom.xml.bash
  3. +0 −1,053 CI/pom.xml.circleci
  4. +0 −1,022 CI/pom.xml.circleci.java7
  5. +0 −950 CI/pom.xml.ios
  6. +1 −1 modules/openapi-generator-gradle-plugin/pom.xml
  7. +189 −1 pom.xml
  8. +2 −1 shippable.yml
View
@@ -1,24 +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"
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.

0 comments on commit 56c4751

Please sign in to comment.