forked from matsim-org/josm-matsim-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
45 lines (41 loc) · 1015 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
42
43
44
45
language: java
jdk:
- oraclejdk8
- oraclejdk9
script:
- ./gradlew build compileJava_minJosm
- ./gradlew build compileJava_latestJosm
deploy:
provider: releases
file_glob: true
api_key: "${GH_TOKEN}"
file:
- "build/dist/matsim.jar"
- "build/tmp/jar/MANIFEST.MF"
skip_cleanup: true
on:
condition: -n $GH_TOKEN
tags: true
jdk: oraclejdk8
jobs:
include:
- stage: i18n
language: python
python: "3.6"
install: pip install git+https://github.com/transifex/transifex-client.git@699dd42e04074be92a07b5b87e8f1ea672a6571f#egg=transifex-client
script: |
if [ ! -z "$TRANSIFEX_TOKEN" ]; then
./gradlew generatePot
tx --token="$TRANSIFEX_TOKEN" --force-save --no-interactive init
git checkout HEAD .tx/config
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