forked from schemaspy/schemaspy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (40 loc) · 803 Bytes
/
.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
language: java
sudo: required
install: true
services:
- docker
jdk:
- openjdk8
addons:
apt:
packages:
- graphviz
script:
- ./travis.sh
- ./docker.sh build snapshot
cache:
directories:
- '$HOME/.m2/repository'
- '$HOME/.sonar/cache'
deploy:
- provider: pages
skip_cleanup: true
local_dir: target
github_token: $GITHUB_TOKEN # Set in travis-ci.org dashboard
on:
branch: master
- provider: script
skip_cleanup: true
script: ./docker.sh deploy
on:
repo: schemaspy/schemaspy
all_branches: true
- provider: releases
api_key: $GITHUB_TOKEN # Set in travis-ci.org dashboard
skip_cleanup: true
file_glob: true
file: target/schemaspy*.jar
draft: true
on:
repo: schemaspy/schemaspy
tags: true