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:
|
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
|
2018-06-04 15:07:47 +02:00
|
|
|
- USE_BUNDLED_BOOST=0
|
|
|
|
- USE_BUNDLED_SPDLOG=0
|
2018-01-13 13:59:48 +01:00
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
|
|
|
env:
|
2018-03-18 13:46:40 +01:00
|
|
|
- CXX_COMPILER=g++-7
|
|
|
|
- C_COMPILER=gcc-7
|
2018-04-28 20:34:40 +02:00
|
|
|
- QT_VERSION="-5.10.1"
|
|
|
|
- QT_PKG=510
|
2018-01-13 13:59:48 +01:00
|
|
|
- DEPLOYMENT=1
|
2018-06-04 15:07:47 +02:00
|
|
|
- USE_BUNDLED_BOOST=1
|
|
|
|
- USE_BUNDLED_SPDLOG=1
|
2018-01-13 13:59:48 +01:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources: ["ubuntu-toolchain-r-test"]
|
2018-03-18 13:46:40 +01:00
|
|
|
packages: ["g++-7", "ninja-build"]
|
2017-04-09 02:54:39 +02:00
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
2017-12-03 11:22:48 +01:00
|
|
|
env:
|
2018-03-18 13:46:40 +01:00
|
|
|
- CXX_COMPILER=g++-7
|
|
|
|
- C_COMPILER=gcc-7
|
2018-01-13 13:59:48 +01:00
|
|
|
- QT_VERSION=571
|
2018-04-28 20:34:40 +02:00
|
|
|
- QT_PKG=57
|
2018-06-04 15:07:47 +02:00
|
|
|
- USE_BUNDLED_BOOST=1
|
|
|
|
- USE_BUNDLED_SPDLOG=1
|
2017-12-03 11:22:48 +01:00
|
|
|
addons:
|
2018-01-13 13:59:48 +01:00
|
|
|
apt:
|
|
|
|
sources: ["ubuntu-toolchain-r-test"]
|
2018-03-18 13:46:40 +01:00
|
|
|
packages: ["g++-7", "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:21:19 +01:00
|
|
|
- QT_VERSION=592
|
2018-04-28 20:34:40 +02:00
|
|
|
- QT_PKG=59
|
2018-06-04 15:07:47 +02:00
|
|
|
- USE_BUNDLED_BOOST=1
|
|
|
|
- USE_BUNDLED_SPDLOG=1
|
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"]
|
2018-02-16 09:26:31 +01:00
|
|
|
packages: ["clang-5.0", "g++-7", "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
|
2018-06-22 22:54:35 +02:00
|
|
|
- export PATH=/usr/local/bin:${PATH}
|
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
|
2018-06-17 15:53:14 +02:00
|
|
|
- sed -i -e "s/VERSION_NAME_VALUE/${TRAVIS_TAG}/g" ./.ci/bintray-release.json || true
|
|
|
|
- cp ./.ci/bintray-release.json .
|
2017-12-26 18:08:00 +01:00
|
|
|
|
2017-11-05 16:56:02 +01:00
|
|
|
deploy:
|
2018-06-17 15:53:14 +02:00
|
|
|
- provider: bintray
|
|
|
|
user: "mujx"
|
|
|
|
key:
|
|
|
|
secure: "CAVzWZPxYSOTollo9bpD4tvEbfxXjqelc32aApV48GKyJrMQljQ+mvSe25BuUtnDehxnw8affgGX23AYXmvG8P7w4hM2d7//8Lgan1zCmusV8JE432jknev6X641B4cvrywqSe0Dj3l0kS9Xgirq4BGavlI0y2vUjeJfQEv0y8GYoI72LwgyH0i82v/1Qi92Fh8429IJIb0eKmC1wGWXCmo2kd8StZRL5mSlc4TmyWI0SHpA5GrLMiQwLAuD7DjDl5mpaK2yQx+H4vBcI2SUMvmlHGgVjXikJG5gURlHbnIaaBFvO67INc1/65KtMokWuMP12zxqJiaMPtsAskOpQv4FLAYDfnigH3NxufyOIGp2cxS5RhJDQhbNsxHEDnUo1kHcO23ZYNWCuC1yUdn0RXzKhWcUsz8mKF8KJs22Ty4VjfUMZ+vqK/AbHyq4rkl8DizVRZqKF1KjSWrSv/2sT4itnHk9pmcgxAYfGuALcjrJJveI4MTwDhzXB62CKnMOqLq3sAMqvE0+BdA0BykQr7qrKtptuyP2/OFx6RDbfHQl5Klkb6cSOjxm0oUzh/8iaxgsVdCrhfE67eqkhFZ+a8lJkB/rZ4zSK1Q2Cp4nLtnxenUCW+Ptk2l7zZN6kXM1/+tcgqVROChYJ6asMUpsjFOOAVQ8SZ4TcxX1rq+pxlA="
|
|
|
|
skip_cleanup: true
|
2017-11-05 19:11:06 +01:00
|
|
|
overwrite: true
|
2018-06-17 15:53:14 +02:00
|
|
|
file: "bintray-release.json"
|
2017-11-05 19:11:06 +01:00
|
|
|
on:
|
2018-06-17 15:53:14 +02:00
|
|
|
condition: $DEPLOYMENT == 1
|
2017-11-05 19:11:06 +01:00
|
|
|
repo: mujx/nheko
|
|
|
|
tags: true
|