-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
42 lines (39 loc) · 1.09 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
jdk:
- openjdk8
- oraclejdk8
- oraclejdk9
script: ./gradlew build compileJava_minJosm
deploy:
- provider: releases
api-key:
secure: T/ZcAO4IUEqjyPF6GeA8LN5ZkFcRA5xpQ0H/Z0BWKWAhksaXBrx7IXmf5Luxgi1QOdlEBfG9DmX7Ca7S414RjWA9mCgcEl2fcut8qT/l4s3S/88spWZvmXPmzII4Gn/HYLvLySXpvW4XuFWEwWxEVhs2LYU7uiab8/NvjrHLZHU=
skip_cleanup: true
file:
- build/dist/fieldpapers.jar
- build/tmp/jar/MANIFEST.MF
on:
tags: true
jdk: openjdk8
repo: fieldpapers/josm-fieldpapers
jobs:
include:
- stage: i18n
language: python
python: "3.6"
install: pip install git+https://github.com/transifex/transifex-client.git@c8434afc44c74fa36400dc0574f5b0b25580e1e0#egg=transifex-client
script: |
if [ ! -z "$TRANSIFEX_TOKEN" ]; then
export PATH="$PATH:$HOME/.local/bin"
./gradlew generatePot
TX_TOKEN="$TRANSIFEX_TOKEN" tx push -s --no-interactive
fi
stages:
- test
- name: i18n
if: type = push AND branch = master
matrix:
fast_finish: true
allow_failures:
- jdk: oraclejdk9
- language: python