forked from Azure/azure-sdk-for-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2676845
commit 383342a
Showing
2 changed files
with
17 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
language: java | ||
sudo: false | ||
|
||
jdk: | ||
- oraclejdk8 | ||
|
||
- oraclejdk8 | ||
script: | ||
- mvn install -DskipTests=true | ||
- mvn -pl !azure-batch,!azure-mgmt-website checkstyle:check | ||
- mvn package javadoc:aggregate -DskipTests=true | ||
- mvn install -DskipTests=true | ||
- mvn -pl !azure-batch,!azure-mgmt-website checkstyle:check | ||
- mvn package javadoc:aggregate -DskipTests=true | ||
env: | ||
global: | ||
secure: bB/RoMrP+sMJBZB6G/s4tPhZUyY0DEEszKd1Vne4TTebHnfzeHQDABYWfcJNVeWujlGJmyi78bvyysm6lfhAnDtIQXss+P+ryN53QDZmU8zKmzZIiqRS8IAMEKRhy03/J62RBQX+F52iP3hUykSHlAxV0lmdWIVtVtp0au8Lu+XmptjXDtVzT87anr879Olyc8Ax2izR0EYZpten6CEYKktx6lUoSIWBTYvrUs1ouboK3X1PpKqdVvvt16rswK36zCt7j0b3DTl8F5kinP67dP42f+Kix2IWGtFjcQbXd7Wdd/d8Ouy9BTlsG5wQNk4ChjITYxGZf3p9DupPKlEe7sA+N9ZS2w4iTcNucI/mkRtDVawDqxmPwfbmqkt9KXHBODS1sTmsrSys870sW3bKwAauaUMpJJAkWYXuNXm8iUVGa5nE3u+YB410puRmbXa5c3QbzVrftohIKM/3RvpUDXjXVAJuiLktC0sHvQ3iRS/N07AjjTGdst1oB1zpf8hlgzJzJ8PrGad5/DHGH1WoWQSbJffDCrKf92U1eLVs02Y3RGKSJ+iiXTWsnOGsgy6RVZcKv7AJp3R+uCwVE0dLoSVjhJaIt4zXcUuwN4uUlAOVsIoaWZ6c5UINWHzjuy6IWM+mId4kFYqn8shoDvsgYAZsJctqbqdUtpQVoWCjmiw= |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash | ||
set -e # exit with nonzero exit code if anything fails | ||
|
||
git config user.name "Travis CI" | ||
git config user.email "[email protected]" | ||
|
||
git subtree pull --squash --prefix runtimes [email protected]:Azure/autorest-clientruntime-for-java.git master --no-edit | ||
git subtree push --prefix runtimes https://${GH_TOKEN}@github.com:Azure/autorest-clientruntime-for-java.git sdk_${TRAVIS_PULL_REQUEST} | ||
|
||
curl -i -H "Authorization: token ${GH_TOKEN}" https://api.github.com/repos/Azure/autorest-clientruntime-for-java/pulls --data "{\"title\":\"SDK changes from pull request #${TRAVIS_PULL_REQUEST}\",\"head\":\"sdk_${TRAVIS_PULL_REQUEST}\",\"base\":\"master\",\"body\":\"#${TRAVIS_PULL_REQUEST}\"}" |