forked from twilio/twilio-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (42 loc) · 1.32 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
language: java
sudo: false
before_install:
- wget https://github.com/sormuras/bach/raw/master/install-jdk.sh
matrix:
include:
# OpenJDK
- name: 'OpenJDK 7'
jdk: openjdk7
- name: 'OpenJDK 8'
jdk: openjdk8
- name: 'OpenJDK 11'
install: . ./install-jdk.sh -L GPL -F 11
- name: 'OpenJDK 12'
install: . ./install-jdk.sh -L GPL -F 12
# Oracle JDK
- name: 'Oracle JDK 8'
jdk: oraclejdk8
- name: 'Oracle JDK 11'
jdk: oraclejdk11
- name: 'Oracle JDK 12'
install: . ./install-jdk.sh -L BCL -F 12
allow_failures:
- name: 'OpenJDK 12'
- name: 'Oracle JDK 11' # See https://travis-ci.community/t/cannot-install-oracle-jdk-11/3892/3
- name: 'Oracle JDK 12'
services:
- docker
notifications:
slack:
on_success: change
on_failure: change
rooms:
- secure: MkRPjhMDkLMT0tKhSzSAEEdLxKlFrcEw00FBgpcpIl50kSpe3gxCJsm2bz5+LySblCfY1nI5D1+R++eB5cxJzgZvEBWIXQnGJVAV+X7WW1CI1FBZlv6FNLBe5gVPPzo5kIIM1g3o7AaERcraHK9h9S9N8cpnBRHe+Xf6wTRqmwo=
- secure: iRd6XcgHGFSJ/eS1ZwCUgUVTK0a+JAPmyPEx/OdFbma6DvF8WBhWtW5Q1dyrjQ3JWU8DW2Att9jRnGHd9F5wWWcykxYbD9DXrlfqCZpec9pHzEMAud9MG1PqK0d3y2oyjwps/fQ092PJcn9/y7zX6tzdVWKaKUe4iRDs1u1ehUo=
deploy:
provider: script
script: make docker-build && make docker-push
skip_cleanup: true
on:
tags: true
jdk: oraclejdk8