Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
78 lines (67 sloc) 4.14 KB
###
# #%L
# kotlin-maven-plugin-tools
# %%
# Copyright (C) 2018 GantSign Ltd.
# %%
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
# #L%
###
---
sudo: false
language: java
jdk: openjdk8
before_cache:
- rm --force --recursive --verbose $HOME/.m2/repository/com/github/gantsign/maven/ktlint-maven-plugin
- rm --force --recursive --verbose $HOME/.m2/repository/com/example/test-project
cache:
directories:
- $HOME/.m2
install: true
jobs:
include:
- stage: Test
name: Min Maven Test
env:
- MAVEN_VERSION: 3.3.9
script: .travis/test.sh
- name: Max Maven Test
env:
- MAVEN_VERSION: 3.6.1
script: .travis/test.sh
after_success:
- bash <(curl -s https://codecov.io/bash)
- stage: Deploy
script: .travis/deploy.sh
if: type = push AND (tag IS present OR branch = master)
- stage: Deploy site
script: .travis/deploy-site.sh
if: type = push AND tag IS present
branches:
only:
- master
- /^(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)([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