forked from art-community/art-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
60 lines (53 loc) · 2.22 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
#
# ART Java
#
# Copyright 2019 ART
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
---
dist: xenial
language: java
install:
- sudo apt-get -y remove default-jdk default-jre default-jdk-headless default-jre-headless ca-certificates-java openjdk-8-jdk openjdk-8-jdk-headless openjdk-8-jre openjdk-8-jre-headless
- sudo rm -rf /usr/local/lib/jvm
- sudo apt-get -y update && sudo apt-get -y install openjdk-8-jdk java-common
- sudo update-java-alternatives -s java-1.8.0-openjdk-amd64
- export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
matrix:
include:
- jdk: openjdk8
node_js: 10
before_install:
- chmod 777 ci/travis.sh
- chmod 777 gradlew
script:
- ci/travis.sh
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
deploy:
overwrite: true
provider: releases
file_glob: true
file: ./**/build/libs/*
skip_cleanup: true
api_key:
secure: nhbNUVFBc3QIh0J4S8Dh3Muy6Yfa3pNvpXksH7V+YT/HQjjerjek7j9HogIqczK34EQ5+aBH8qx+XVNQaNrVXqpJ89ApmeI60DANARuS5UFQmWweBW54QTBTDDMgTZI7LXKMUrxqrUUTAPKYSQW4bdaeYoXmUZKdDZsGRxsFjoGdWgYSKmELLDH3yYX6Kmeqc1kfJ/hjScvfNPM+KWsmOnwTADMdR3BsSaTIiB2slrYZEkk5vkh/FkuB8f9M6BTYkE6BRdcurb1A4GcSf+CAbIBtiiMBQC/GgmEs+0FLnHBRjeR79sMvIj1k5lM0jkcF4up1KM0uLbR5CEuQKYZMwRfoqDd+RIjBhbYr/1ZfrPazU4Wxe3cMOJzC80JTvX9WepXqpIYmN6ZYsBCOUJ2Wkb9rpxQkniXYuDmM0mVos3WwfavEQ+zIHn0eeKGj6thVnw4lDm0DPhNqApDmz0zX3HY5qG6WOb4jg0XSd5+g2Os3/yDPz6QEtvKOtv2zTlXFhJady5TSqfNc/Bf0FpeVjMvJbwWAIChdZlqFKM5+jRU6sCOsl2R8oQlZh/EBOdd9FL+2J0/OZhL2vDdVuLkt/uKGtNgYhlTTSzOj1BSDb9iVRv9qcCsjV8ZI5Ux5jBovGNS6Si9o1akG03WvnoucoW7scnJumiaUz+JNNPFsZlg=
on:
repo: art-community/ART
tags: true