2018-01-13 13:59:48 +01:00
|
|
|
---
|
|
|
|
|
2017-04-09 02:54:39 +02:00
|
|
|
language: cpp
|
|
|
|
sudo: required
|
|
|
|
dist: trusty
|
|
|
|
|
2017-04-09 17:19:22 +02:00
|
|
|
notifications:
|
|
|
|
email: false
|
|
|
|
|
2017-04-09 02:54:39 +02:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: osx
|
|
|
|
osx_image: xcode8
|
|
|
|
compiler: clang
|
2017-12-22 15:33:29 +01:00
|
|
|
- os: osx
|
|
|
|
osx_image: xcode9
|
|
|
|
compiler: clang
|
|
|
|
env:
|
2018-01-13 13:59:48 +01:00
|
|
|
- DEPLOYMENT=1
|
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
|
|
|
env:
|
|
|
|
- CXX_COMPILER=g++-6
|
|
|
|
- C_COMPILER=gcc-6
|
2018-01-29 01:12:05 +01:00
|
|
|
- QT_VERSION=594
|
2018-01-13 13:59:48 +01:00
|
|
|
- DEPLOYMENT=1
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources: ["ubuntu-toolchain-r-test"]
|
|
|
|
packages: ["g++-6", "ninja-build"]
|
2017-04-09 02:54:39 +02:00
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
2017-12-03 11:22:48 +01:00
|
|
|
env:
|
2018-01-13 13:59:48 +01:00
|
|
|
- CXX_COMPILER=g++-6
|
|
|
|
- C_COMPILER=gcc-6
|
|
|
|
- QT_VERSION=571
|
2017-12-03 11:22:48 +01:00
|
|
|
addons:
|
2018-01-13 13:59:48 +01:00
|
|
|
apt:
|
|
|
|
sources: ["ubuntu-toolchain-r-test"]
|
|
|
|
packages: ["g++-6", "ninja-build"]
|
2017-04-09 02:54:39 +02:00
|
|
|
- os: linux
|
|
|
|
compiler: clang
|
2017-12-03 11:38:08 +01:00
|
|
|
env:
|
2018-01-13 13:59:48 +01:00
|
|
|
- CXX_COMPILER=clang++-5.0
|
|
|
|
- C_COMPILER=clang-5.0
|
2018-01-29 01:12:05 +01:00
|
|
|
- QT_VERSION=594
|
2017-12-03 11:22:48 +01:00
|
|
|
addons:
|
2018-01-13 13:59:48 +01:00
|
|
|
apt:
|
|
|
|
sources: ["ubuntu-toolchain-r-test", "llvm-toolchain-trusty-5.0"]
|
|
|
|
packages: ["clang-5.0", "ninja-build"]
|
2017-12-03 11:22:48 +01:00
|
|
|
|
2017-05-08 15:27:21 +02:00
|
|
|
before_install:
|
2017-12-05 21:59:43 +01:00
|
|
|
- export CXX=${CXX_COMPILER}
|
|
|
|
- export CC=${C_COMPILER}
|
2017-12-03 11:22:48 +01:00
|
|
|
|
2017-04-09 02:54:39 +02:00
|
|
|
install:
|
2018-01-13 13:59:48 +01:00
|
|
|
- ./.ci/install.sh
|
2017-12-03 11:22:48 +01:00
|
|
|
|
2017-04-09 02:54:39 +02:00
|
|
|
script:
|
2018-01-13 13:59:48 +01:00
|
|
|
- ./.ci/script.sh
|
2017-12-26 18:08:00 +01:00
|
|
|
|
|
|
|
before_deploy:
|
2018-01-13 13:59:48 +01:00
|
|
|
- export RELEASE_DEB_FILE=$(ls *.deb)
|
|
|
|
- export RELEASE_RPM_FILE=$(ls *.rpm)
|
2017-11-05 16:56:02 +01:00
|
|
|
|
|
|
|
deploy:
|
2017-11-05 19:11:06 +01:00
|
|
|
- skip_cleanup: true
|
|
|
|
overwrite: true
|
|
|
|
provider: releases
|
|
|
|
api_key:
|
|
|
|
secure: oprXzESukFiXBeF2BXkXUlegsAQc95Ub4kc/OkoNFaYBvqpA+IGpWHmHCx5JPny/OT3Kc2Urpe2JUeGSWDHZ7UCKDjH+NzGP3uN82fHh/HiszG/Srw7+hWEHm1ve+gMK9GS8pr+yUsUrPP0UfVXlPoI4pBWa4zGi2Ndb/SqvjCgIHFLtGyoBo6CydKQ/AyWiXSMKDfJL+Dx4JLIPP4RTCBJy8ZrZ8m/a5Tgy4Ij6+djjrgYCZCEhGxSYw7xDIT/9SV8g9NkrbisqBDrILzAH8Yhe4XMRMXo88OAxV5+Vb9Rw1hrqczez6lpFDbJetv8MjofND+pSoAFwtjaL1wTFK9Ud6w4O9AuHlEQH9cGVdvsxFcosRwJVh58x51JM9ptoktqhx/HHJBTuCHCYYlHwtRwbwqnMYdLzKZG5FnujT8DG+9mcva1fL6tzW/XD505VPMWwXFC/2/pvolgAkTFFXYSALAwZlK3IgoXU8Gok/3B4iHofzQsFf6Yq3BI/88x7tVASUqiYhoKrO50+gb6pNIRCyWgGUiBEVXBp6Ziq3ORQPyQJg7i9HHUGTUu74yvGLHWLwjNQzZP/hxJZK3VlJxzyXntdOxiJc8iOzNrU+rPKBAlAaE6bQDOoniIysEgdD5BXHTLFzPvts4P1n2Ckor5/rNJ+qXR8GU+/y7e1GKU=
|
2017-12-26 18:08:00 +01:00
|
|
|
file_glob: true
|
|
|
|
file:
|
2018-01-13 13:59:48 +01:00
|
|
|
- nheko-x86_64.AppImage
|
|
|
|
- $RELEASE_DEB_FILE
|
|
|
|
- $RELEASE_RPM_FILE
|
2017-11-05 19:11:06 +01:00
|
|
|
on:
|
2017-12-05 21:59:43 +01:00
|
|
|
condition: $TRAVIS_OS_NAME == linux && $DEPLOYMENT == 1
|
2017-11-05 19:11:06 +01:00
|
|
|
repo: mujx/nheko
|
|
|
|
tags: true
|
2017-12-26 18:08:00 +01:00
|
|
|
|
2017-11-05 19:11:06 +01:00
|
|
|
- skip_cleanup: true
|
|
|
|
overwrite: true
|
|
|
|
provider: releases
|
|
|
|
api_key:
|
|
|
|
secure: oprXzESukFiXBeF2BXkXUlegsAQc95Ub4kc/OkoNFaYBvqpA+IGpWHmHCx5JPny/OT3Kc2Urpe2JUeGSWDHZ7UCKDjH+NzGP3uN82fHh/HiszG/Srw7+hWEHm1ve+gMK9GS8pr+yUsUrPP0UfVXlPoI4pBWa4zGi2Ndb/SqvjCgIHFLtGyoBo6CydKQ/AyWiXSMKDfJL+Dx4JLIPP4RTCBJy8ZrZ8m/a5Tgy4Ij6+djjrgYCZCEhGxSYw7xDIT/9SV8g9NkrbisqBDrILzAH8Yhe4XMRMXo88OAxV5+Vb9Rw1hrqczez6lpFDbJetv8MjofND+pSoAFwtjaL1wTFK9Ud6w4O9AuHlEQH9cGVdvsxFcosRwJVh58x51JM9ptoktqhx/HHJBTuCHCYYlHwtRwbwqnMYdLzKZG5FnujT8DG+9mcva1fL6tzW/XD505VPMWwXFC/2/pvolgAkTFFXYSALAwZlK3IgoXU8Gok/3B4iHofzQsFf6Yq3BI/88x7tVASUqiYhoKrO50+gb6pNIRCyWgGUiBEVXBp6Ziq3ORQPyQJg7i9HHUGTUu74yvGLHWLwjNQzZP/hxJZK3VlJxzyXntdOxiJc8iOzNrU+rPKBAlAaE6bQDOoniIysEgdD5BXHTLFzPvts4P1n2Ckor5/rNJ+qXR8GU+/y7e1GKU=
|
2017-11-06 16:20:48 +01:00
|
|
|
file: nheko.dmg
|
2017-11-05 19:11:06 +01:00
|
|
|
on:
|
2017-12-22 15:33:29 +01:00
|
|
|
condition: $TRAVIS_OS_NAME == osx && $DEPLOYMENT == 1
|
2017-11-05 19:11:06 +01:00
|
|
|
repo: mujx/nheko
|
|
|
|
tags: true
|