Skip to content

Commit cdb6f88

Browse files
committed
Try auto deploys on travis
1 parent 7d1a919 commit cdb6f88

File tree

2 files changed

+19
-3
lines changed

2 files changed

+19
-3
lines changed

.travis.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,18 @@
11
sudo: false
22
language: java
33
jdk:
4-
- oraclejdk8
5-
4+
- oraclejdk8
65
script:
7-
- ./gradlew buildPlugin
6+
- "./gradlew buildPlugin"
7+
deploy:
8+
provider: releases
9+
api_key:
10+
secure: "${GITHUB_KEY}"
11+
file: build/distributions/TYPO3*.zip
12+
skip_cleanup: true
13+
file_glob: true
14+
on:
15+
tags: true
16+
condition: "$TRAVIS_TAG =~ ^v[0-9]+.*$"
17+
after_deploy:
18+
- "./gradlew publishPlugin"

build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ intellij {
1818
version 'IU-2017.2.5'
1919
plugins = ['com.jetbrains.php:172.4155.41']
2020
pluginName 'TYPO3 CMS Plugin'
21+
22+
publishPlugin {
23+
username System.getenv('IJ_REPO_USERNAME')
24+
password System.getenv('IJ_REPO_PASSWORD')
25+
}
2126
}
2227

2328
group 'com.cedricziel'

0 commit comments

Comments
 (0)