FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
graphql-java/travis-build.sh at master · yofayed/graphql-java · GitHub
yofayed
/
graphql-java
Public
forked from
graphql-java/graphql-java
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
graphql-java
/
travis-build.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
9 lines (9 loc) · 614 Bytes
Breadcrumbs
graphql-java
/
travis-build.sh
Copy path
File metadata and controls
executable file
·
9 lines (9 loc) · 614 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
#!
/bin/bash
set
-ev
BUILD_COMMAND=
"
./gradlew assemble && ./gradlew check
"
if
[
"
${TRAVIS_PULL_REQUEST}
"
=
"
false
"
]
&&
[
"
${TRAVIS_BRANCH}
"
=
"
master
"
]
;
then
echo
"
Building on master
"
BUILD_COMMAND=
"
./gradlew assemble && ./gradlew check && ./gradlew bintrayUpload -x check --info
"
fi
docker create -v /usr/lib/jvm/java-6-openjdk-amd64/jre/lib --name java6-rt java:6 /bin/true
docker run -it --rm --volumes-from java6-rt -v
`
pwd .
`
:/build -e JDK6_HOME=/usr/lib/jvm/java-6-openjdk-amd64 -e BINTRAY_USER=
$BINTRAY_USER
-e BINTRAY_API_KEY=
$BINTRAY_API_KEY
-w /build openjdk:8u111-jdk bash -c
"
${BUILD_COMMAND}
"
Back
|
FazBrowse Home
|
New Git URL