forked from machinekit/QtQuickVcp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
131 lines (124 loc) · 4.69 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
language: cpp
sudo: false
matrix:
fast_finish: true
allow_failures:
# - env: "JOB=AppImage_x64"
# - env: "JOB=AppImage_i686"
# - env: "JOB=AppImage_armhf"
# - env: "JOB=Android_armv7"
- env: "JOB=MacOSX"
include:
# 1st parallel build job - debug build on Ubuntu
# - env: "JOB=Tests"
# addons:
# apt:
# sources:
# - ubuntu-toolchain-r-test
# packages:
# - g++-4.9
# # not white listed - alsa
# - libsndfile1
# - wget
# - make
# - ant
# - curl
# - libasound2-dev
# - portaudio19-dev
# - libsndfile1-dev
# - zlib1g-dev
# - libfreetype6-dev
# - libfontconfig1-dev
# - lame
# - libmp3lame-dev
# - libegl1-mesa-dev
# - libegl1-mesa
# - ccache
# - libpulse-dev
# cache:
# directories:
# - $HOME/.ccache
# before_install:
# - "source build/travis/job1_Tests/environment.sh"
# install:
# - "./build/travis/job1_Tests/install.sh"
# before_script:
# - "./build/travis/job1_Tests/before_script.sh"
# script:
# - "./build/travis/job1_Tests/run_tests.sh"
# after_script:
# - ARTIFACTS_CACHE_CONTROL='public, max-age=315360000'
# - 'ARTIFACTS_PATHS="$(ls vtest/html | tr "\n" ":")" artifacts upload'
# 2nd parallel build job - portable Linux AppImage 64-bit x86 build on CentOS
- env: "JOB=AppImage_x64"
addons:
apt:
packages:
- bsdtar
- curl
# - zsync
services:
- docker
script:
- "if [[ $APPIMAGE_BUILD_ARCHS == *x86_64* ]]; then ./build/travis/job2_AppImage/build.sh --x86_64 --upload-branches $APPIMAGE_UPLOAD_BRANCHES; fi"
- env: "JOB=Android_armv7"
addons:
apt:
packages:
- bsdtar
- curl
# - zsync
services:
- docker
before_install:
- echo "$ANDROID_STOREPASS" > ./build/Linux/android/storepass
- echo "$ANDROID_KEYPASS" > ./build/Linux/android/keypass
- openssl aes-256-cbc -K $encrypted_3915c3e19012_key -iv $encrypted_3915c3e19012_iv -in ./build/Linux/android/secrets.tar.enc -out ./build/Linux/android/secrets.tar -d
- tar xvf ./build/Linux/android/secrets.tar -C ./build/Linux/android/
script:
- "./build/travis/job3_Android/build.sh --upload-branches $ANDROID_UPLOAD_BRANCHES"
# 3rd parallel build job - portable Linux AppImage 32-bit x86 build on CentOS
#- env: "JOB=AppImage_i686"
# addons:
# apt:
# packages:
# - bsdtar
# - curl
# - zsync
# services:
# - docker
# script:
# - "if [[ $APPIMAGE_BUILD_ARCHS == *i686* ]]; then ./build/travis/job2_AppImage/build.sh --i686 --upload-branches $APPIMAGE_UPLOAD_BRANCHES; fi"
# 4th parallel build job - portable Linux AppImage armhf build on Debian crosscompiler
#- env: "JOB=AppImage_armhf"
# addons:
# apt:
# packages:
# - bsdtar
# - curl
# - zsync
# services:
# - docker
# before_script:
# - "sudo ./build/travis/job2_AppImage/set-binfmt-misc.sh"
# script:
# - "if [[ $APPIMAGE_BUILD_ARCHS == *armhf* ]]; then ./build/travis/job2_AppImage/build.sh --armhf --upload-branches $APPIMAGE_UPLOAD_BRANCHES; fi"
# 5th parallel build job - mac osx build
- env: "JOB=MacOSX"
os: osx
osx_image: xcode7.3
#cache:
# directories:
# - /usr/local/Cellar
before_install:
- source build/travis/job_macos/before_install.sh
install:
- "./build/travis/job_macos/install.sh"
script:
- "./build/travis/job_macos/build.sh --upload-branches $MACOSX_UPLOAD_BRANCHES"
notifications:
email:
recipients:
secure: "fZIMy64OEMyZC/pwIQT9ZF/9PIfNnBVjrkssLZy8REG7zKuikpk1mMDPsvhnPcadopOR09AyiUcKUSNAc+A8TOCPDg0hK4dzJvoMpCCceU0THgJqgauxONMX9BNi6sfkqrARnt3ahar2AoxjBWvqq2PUVl/rUjN3Y0YZcxmMRyApeu9SY16KL3B9i79UsQ5pQBpDQ8UDfSaRLfvUJcf2Lw8/IWIcW2r5kC86aVF38GAz5fMFLEd+4/6MLtWDDni+gbh3yMqEd1Qbwsv9y/Dwt/NHs2ucUVk3QCX2vLJEKnBDatJkP2ESdRdKit+IyAOoB9MCsjKht+Kl3Axe7cTuVLYRg4lqV6vPEqRkpjQEuMvfFEjnP3vWcY1Iwdzwr1ywziP/Bc70ql891q7b1Koh8exUyM0bSHrKRTTaoihcMhfEcTPx/NHxue7C0CGOetKq87ukWx1CnYkBIkUc67lvsPyiMVCTDi9RynslEEy51jTeMcmX/th+SA+PAtEjBtZNUqXOZ3pcz0OypwW5b/TkXegEs6Gp5qxyqJU4oU3fRqitWGIf+z3kxX114Zh1xGnAYDy9nf9UcM0PiFglJCQsTMZV1ckGPOQz+MjqPc1n6NQL0UypwEac2g/N5wtPl7yZe34j4hlQhgC7W6bJanZWPqk4ZFhSzPVoo4i4bQHIdsg="
on_success: change
on_failure: always