File tree 4 files changed +13
-23
lines changed
4 files changed +13
-23
lines changed Original file line number Diff line number Diff line change 1
1
sudo : required
2
- matrix :
2
+ jobs :
3
3
include :
4
- - os : linux
4
+ - stage : build
5
+ os : linux
5
6
jdk : oraclejdk8
6
7
language : generic
7
8
before_install :
@@ -10,7 +11,8 @@ matrix:
10
11
- pushd protobuf-3.6.1 && ./configure --disable-shared && make && sudo make install
11
12
&& popd
12
13
script : " ./ci/travis.sh"
13
- - os : osx
14
+ - stage : deploy
15
+ os : osx
14
16
osx_image : xcode9.4
15
17
language : generic
16
18
env :
Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ if (project.hasProperty('bintrayUser') && project.hasProperty('bintrayKey') &&
50
50
mavenCentralSync {
51
51
user = project. property(' sonatypeUsername' )
52
52
password = project. property(' sonatypePassword' )
53
+ close = project. property(' stage' ) == ' Deploy' ? ' 1' : ' 0'
53
54
}
54
55
}
55
56
}
Original file line number Diff line number Diff line change @@ -15,25 +15,12 @@ elif [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_TAG" == "" ] && [ "$bin
15
15
16
16
elif [ " $TRAVIS_PULL_REQUEST " == " false" ] && [ " $TRAVIS_TAG " != " " ] && [ " $bintrayUser " != " " ] ; then
17
17
18
- if [ " $TRAVIS_OS_NAME " != " linux" ]; then
19
-
20
- echo -e " Building Tag $TRAVIS_REPO_SLUG /$TRAVIS_TAG "
21
- ./gradlew \
22
- -Pversion=" $TRAVIS_TAG " \
23
- -PbintrayUser=" ${bintrayUser} " -PbintrayKey=" ${bintrayKey} " \
24
- -PsonatypeUsername=" ${sonatypeUsername} " -PsonatypePassword=" ${sonatypePassword} " \
25
- build bintrayUpload --stacktrace
26
-
27
- else
28
-
29
- echo -e " Building Tag $TRAVIS_REPO_SLUG /$TRAVIS_TAG "
30
- ./gradlew \
31
- -Pversion=" $TRAVIS_TAG " \
32
- -PbintrayUser=" ${bintrayUser} " -PbintrayKey=" ${bintrayKey} " \
33
- -PsonatypeUsername=" ${sonatypeUsername} " -PsonatypePassword=" ${sonatypePassword} " \
34
- :rsocket-rpc-protobuf:build :rsocket-rpc-protobuf:bintrayUpload --stacktrace
35
-
36
- fi
18
+ echo -e " Building Tag $TRAVIS_REPO_SLUG /$TRAVIS_TAG "
19
+ ./gradlew \
20
+ -Pversion=" $TRAVIS_TAG " -Pstage=" $TRAVIS_BUILD_STAGE_NAME " \
21
+ -PbintrayUser=" ${bintrayUser} " -PbintrayKey=" ${bintrayKey} " \
22
+ -PsonatypeUsername=" ${sonatypeUsername} " -PsonatypePassword=" ${sonatypePassword} " \
23
+ build bintrayUpload --stacktrace
37
24
38
25
else
39
26
Original file line number Diff line number Diff line change 1
1
group =io.rsocket.rpc
2
- version =0.2.8
2
+ version =0.2.9
You can’t perform that action at this time.
0 commit comments