This repository has been archived by the owner on Mar 25, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis.yml
63 lines (52 loc) · 1.49 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
62
63
#
#
#
# Copyright (C) 2018 IHS Markit.
# All Rights Reserved
#
#
# NOTICE: All information contained herein is, and remains
# the property of IHS Markit and its suppliers,
# if any. The intellectual and technical concepts contained
# herein are proprietary to IHS Markit and its suppliers
# and may be covered by U.S. and Foreign Patents, patents in
# process, and are protected by trade secret or copyright law.
# Dissemination of this information or reproduction of this material
# is strictly forbidden unless prior written permission is obtained
# from IHS Markit.
#after_success: ./after-success.sh $TRAVIS_BRANCH $TRAVIS_PULL_REQUEST
language: java
install: true
before_install:
- npm install -g redoc-cli
cache:
directories:
- $HOME/.m2
script:
- mvn clean package install
- redoc-cli bundle --output ./docs/_includes/appd-specification.html specification/appd.yaml
jdk:
- oraclejdk8
deploy:
# TODO - Use Maven Release plugin
# - provider: script
# skip_cleanup: true
# script: npm run semantic-release
# on:
# branch: docs-pages
- provider: script
skip_cleanup: true
script: curl https://raw.githubusercontent.com/maoo/FDC3/common-docs-layout/docs/prepare-mvn-docs-release.sh | bash
on:
branch: master
- provider: pages
skip-cleanup: true
github-token: $GH_TOKEN
email: $GITHUB_EMAIL
name: $GITHUB_USERNAME
verbose: true
keep-history: true
local-dir: gh-pages-docs
target_branch: gh-pages
on:
branch: master