forked from fibercrypto/libjava-skyfiber
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
61 lines (61 loc) · 2.23 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
language: java
matrix:
include:
- os: linux
jdk: openjdk8
- os: linux
jdk: openjdk9
- os: linux
jdk: openjdk10
- os: linux
jdk: openjdk11
- os: linux
jdk: openjdk12
- os: osx
osx_image: xcode8.3
jdk: oraclejdk8
- os: osx
osx_image: xcode8.3
jdk: openjdk9
- os: osx
osx_image: xcode8.3
jdk: openjdk10
- os: osx
osx_image: xcode8.3
jdk: oraclejdk11
- os: osx
osx_image: xcode8.3
jdk: openjdk12
before_install:
- npm config delete prefix
install:
- if [[ $TRAVIS_OS_NAME == 'linux' ]]; then bash ./.travis/install-linux.sh ; fi
- if [[ $TRAVIS_OS_NAME == 'osx' ]]; then bash ./.travis/install-os.sh; fi
- cd $TRAVIS_BUILD_DIR
- eval "$(gimme 1.11)"
script:
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
- make test
before_deploy:
- make deploy-travis
- make package
deploy:
provider: releases
api_key:
secure: izM0YQ+xhaeHMnJRTePEoTg+fuNDomci1Mv5h936yScFRr2kywz7SxkY28ST3OltxX7oaCt7YecPAK3+3N6yfxQSrAtYwQSP0KQ0TWmwTgQ9xhXLUyfr97bBfU1lqwv/GFAID3NVCeXY7adAo9Xvx8cwpChIdckXmxSAAkUNV3mDL4a6JtuzaAWk0c/aHY8wnR1Cjz52kLxV2gImcyMgBGl7SXtTyR+kdFWj/1udSqnP5vFAvug1qwRR2ELNxYeP7DusC60UoIVVyNKA9coE3R7z/5LUY6aD4IB/m46lGRKPXPeY8kv12glGOu53SCq4BF9Xadh2abUyz2HaAQIYf+jGufgwuInBSuYKYtRGEuBdbvTTNYKdWBOV0K/jCc5KFfLMIIqiBmWtvVow96xPaNglXPvlX+vvwRGutzCzv8qIA9XKF/YY1ZUQjj9lSf5kjHBnl9OfdZPbRNcZ8d9JwwxSOwkcGBn7Ceb9gckPMtbA/p0DllVPYu+2BJlh4CTPBli5KVZdq5pCWaKkeOt94CFGj+lMhsF5a6LubvaW9hvLWcFgOpLxVWdYM2L50rTCYdRDBDvOx4aXNBMIENGTdPhz/5kpjHwG2EZ2W5lu8J9s4QNqyCuUtKH9eaU/Q3ZqoI610pV6xiKOS0pxdcEbvW0I0F+rQLCVT0CPWtyUYn0=
file:
- "./lib/skyapi/target/skyapi-${TRAVIS_TAG}.jar"
- "./lib/skyapi-retrofit2/target/skyapi-retrofit2-${TRAVIS_TAG}.jar"
- "./target/libskycoin-java-${TRAVIS_TAG}.jar"
- "./lib/skyapi-resttemplate/target/skyapi-resttemplate-${TRAVIS_TAG}.jar"
- "./lib/skyapi-vertx/target/skyapi-vertx-${TRAVIS_TAG}.jar"
- "./lib/skyapi-restassured/target/skyapi-rest-assured-${TRAVIS_TAG}.jar"
- "./lib/skyapi-feign/target/skyapi-feign-${TRAVIS_TAG}.jar"
- "./lib/skyapi/target/skyapi-resteasy-${TRAVIS_TAG}.jar"
skip_cleanup: true
on:
tags: true
repo: simelo/libjava-skycoin
notifications:
email: false
webhooks: https://fathomless-fjord-24024.herokuapp.com/notify