This repository has been archived by the owner on Apr 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
.travis.yml
54 lines (43 loc) · 1.68 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
# use new travis infrastructure (container-based)
sudo: false
# currently we use Java 8
language: java
jdk: oraclejdk8
# activate caching to speed up build
cache:
directories:
- $HOME/.m2
# this stuff is needed for allowing UI tests
env: DISPLAY=:99.0
install: true
addons:
apt:
packages:
- metacity
before_script:
- sh -e /etc/init.d/xvfb start
- metacity --sm-disable --replace 2> metacity.err &
# run actual build
script:
- export
- cd releng/org.francaplus.parent && mvn generate-sources install && cd ../..
# select branches per whitelist
branches:
only:
- master
# - develop
# deploy to github releases (for tagged commits)
#before_deploy:
# - ls
# - export FRANCAPLUS_P2_REPO_FILE=$(ls releng/org.francaplus.updatesite/target/site_franca_*.zip)
# - echo "Deploying $FRANCAPLUS_P2_REPO_FILE to GitHub releases"
#deploy:
# provider: releases
# api_key:
# secure: DhrWa4b0Hz+5otgSKvsWHlNdd5R2BP3GAxNDKf4paHEzBYFZ1sXaEe++R872yGK/JTwbIFEXJQYNeP671EhCnqvhm7WPyiBX1lmenLsrcBuoPQmOrIAgX4d1F7nJtiMRRLIA+sBcX5eRWF9jSjF1EfJZc6jP/b5U3JxmH7YlcR35lx/JkNskTm7Wj852x6e5Zjt8FTUZeBDWqj6jas7CuDr/sws5B4Akr1gZ6F2XhNfzFJzSV0hYteBMjWmSJoOnHXcNGLglhhgP4/7gAIxzFEEqtTuNDu8yzgTBuDMuHwTm4jkiZS/56vqGUV9+/izjjhJEWhanhJ5Fgq8bMkv/x2maXAhgqIFjnwuEl0rkfA3o3boGsmvSsGe+EXODj0l7y1CacBCKE4vmPMzlbUGosY3D1F+hnmV3JqHjycy5pDgnUGugCkVkL6pbF06euK7L79zMcNi2wgGMN0NYWwlAtHf/WQB3vd/MuMzF2InZrUBwuaAno2tUs//EpL/mXEXp5MEVueLkVAiF+cd1CcUz0ZjpLn5MVVPv8nsNXAAFGBRnpxDXlC2WbBXu8HIBx/Y21gzfA89pKUAtpAdSmCuFCBFISMfUsHxaFWh1t94w66G2ULZpuYq+99Q0LZTF/rKDtNOHcNxT34K6twxP74+bMp9dlEKiC9b5XZZmqyam+6s=
# file: "${FRANCAPLUS_P2_REPO_FILE}"
# skip_cleanup: true
# file_glob: true
# on:
# repo: GENIVI/franca_plus
# tags: true