matrixion/.travis.yml

115 lines
5 KiB
YAML
Raw Normal View History

2018-01-13 15:59:48 +03:00
---
2017-04-09 03:54:39 +03:00
language: cpp
sudo: required
dist: trusty
2017-04-09 18:19:22 +03:00
notifications:
email: false
webhooks:
urls:
- "https://scalar.vector.im/api/neb/services/hooks/dHJhdmlzLWNpLyU0MHJlZF9za3klM0FvY2Vhbi5qb2Vkb25vZnJ5LmNvbS8lMjFldkFxa1BIWnVQSElHZWVuaGklM0FvY2Vhbi5qb2Vkb25vZnJ5LmNvbQ"
on_success: always # always|never|change
on_failure: always
on_start: never
2017-04-09 18:19:22 +03:00
2017-04-09 03:54:39 +03:00
matrix:
include:
2017-12-22 17:33:29 +03:00
- os: osx
osx_image: xcode9
compiler: clang
env:
2018-01-13 15:59:48 +03:00
- DEPLOYMENT=1
- USE_BUNDLED_BOOST=0
2018-09-11 19:02:36 +03:00
- USE_BUNDLED_CMARK=0
2018-06-23 21:17:33 +03:00
- os: linux
compiler: gcc
env:
- CXX_COMPILER=g++-5
- C_COMPILER=gcc-5
- QT_VERSION="-5.10.1"
- QT_PKG=510
- DEPLOYMENT=1
- USE_BUNDLED_BOOST=1
2018-09-11 19:02:36 +03:00
- USE_BUNDLED_CMARK=1
2018-06-23 21:17:33 +03:00
addons:
apt:
sources: ["ubuntu-toolchain-r-test"]
packages: ["g++-5", "ninja-build"]
2018-01-13 15:59:48 +03:00
- os: linux
compiler: gcc
env:
2018-09-18 19:12:56 +03:00
- CXX_COMPILER=g++-8
- C_COMPILER=gcc-8
2018-01-13 15:59:48 +03:00
- QT_VERSION=571
2018-04-28 21:34:40 +03:00
- QT_PKG=57
- USE_BUNDLED_BOOST=1
2018-09-11 19:02:36 +03:00
- USE_BUNDLED_CMARK=1
2017-12-03 13:22:48 +03:00
addons:
2018-01-13 15:59:48 +03:00
apt:
sources: ["ubuntu-toolchain-r-test"]
2018-09-18 19:12:56 +03:00
packages: ["g++-8", "ninja-build"]
2017-04-09 03:54:39 +03:00
- os: linux
compiler: clang
2017-12-03 13:38:08 +03:00
env:
2018-01-13 15:59:48 +03:00
- CXX_COMPILER=clang++-5.0
- C_COMPILER=clang-5.0
2018-01-29 03:21:19 +03:00
- QT_VERSION=592
2018-04-28 21:34:40 +03:00
- QT_PKG=59
- USE_BUNDLED_BOOST=1
2018-09-11 19:02:36 +03:00
- USE_BUNDLED_CMARK=1
2017-12-03 13:22:48 +03:00
addons:
2018-01-13 15:59:48 +03:00
apt:
sources: ["ubuntu-toolchain-r-test", "llvm-toolchain-trusty-5.0"]
2018-02-16 11:26:31 +03:00
packages: ["clang-5.0", "g++-7", "ninja-build"]
2017-12-03 13:22:48 +03:00
2017-05-08 16:27:21 +03:00
before_install:
2017-12-05 23:59:43 +03:00
- export CXX=${CXX_COMPILER}
- export CC=${C_COMPILER}
2017-12-03 13:22:48 +03:00
2017-04-09 03:54:39 +03:00
install:
2018-01-13 15:59:48 +03:00
- ./.ci/install.sh
2018-06-22 23:54:35 +03:00
- export PATH=/usr/local/bin:${PATH}
2017-12-03 13:22:48 +03:00
2017-04-09 03:54:39 +03:00
script:
2018-01-13 15:59:48 +03:00
- ./.ci/script.sh
2018-06-17 16:53:14 +03:00
- sed -i -e "s/VERSION_NAME_VALUE/${TRAVIS_TAG}/g" ./.ci/bintray-release.json || true
- cp ./.ci/bintray-release.json .
2017-12-26 20:08:00 +03:00
2017-11-05 18:56:02 +03:00
deploy:
2018-06-17 16:53:14 +03:00
- provider: bintray
user: "redsky17"
2018-06-17 16:53:14 +03:00
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 21:11:06 +03:00
overwrite: true
2018-06-17 16:53:14 +03:00
file: "bintray-release.json"
2017-11-05 21:11:06 +03:00
on:
2018-06-17 16:53:14 +03:00
condition: $DEPLOYMENT == 1
repo: nheko-reborn/nheko
2017-11-05 21:11:06 +03:00
tags: true
2018-09-21 15:04:50 +03:00
deploy:
- skip_cleanup: true
overwrite: true
provider: releases
api_key:
2018-09-21 16:44:45 +03:00
secure: "JROFCxI1Dj0j8GKftCk1M16PovGmbCQb/i6JKm+YKWIhoYoMJBFl3TzhN0D0KlT8VeClZ0WV4MOom6elAkxlYTGR1kcoJ5ESt/AS0B1ULxq2exbmqzqJgJJBb65JVo4nglLHZPnUHOY5s/QGtg05nPeexcK8b3lFvhMRI+Y5jqX9i4FGsEBk6tG2OLfXB0odU8f6rhEeIGWgJw1LVyiTk3VoQcJtBi7Vsg3p4othMaLDlkVHsepNY+xSO14NbNpUjXSzYWZJEM9HqCOaOlAjZR5Q0Ad365TqN9zj6NOVwxEdN4Zl3/Ux838Or6TobhdhGjqqO2JmWt6C+xV4XJ9wX+8LPb+hYYVBrItp32g3grtW/e4nNsp4j3nm1P87kzKPxC4oAaskyn0dlwC4Vo3LH67beQiceAIuM9ywej4Zwr94+MeKjIVtqI6Qz7Tjlt1pFGI1lmfkKQOXiFlkwPbyCPV3smpJ1WSOC4Npkht6tFPBlLV2DFySYUMRAdH2RwBxWhjzwsSJlx/dEKUUL5yffKtg2tANM6aCCyXMEqEXXVkFe9e9ymPbGmmQuf56xo3rYQj5BcQWA9JHAancqLkxoR0rbRBBmai5qDQP7rBss/HR7Uec5xSnYkS6YYI9zpZ+FTfPa7lnVI3c8hj+ukua1EnsYytB8F8l95jrO8fnTxU="
2018-09-21 15:04:50 +03:00
file_glob: true
file:
- nheko-${TRAVIS_TAG}-x86_64.AppImage
on:
condition: $TRAVIS_OS_NAME == linux && $DEPLOYMENT == 1
repo: redsky17/nheko
2018-09-21 15:04:50 +03:00
tags: true
- skip_cleanup: true
overwrite: true
provider: releases
api_key:
2018-09-21 16:44:45 +03:00
secure: "JROFCxI1Dj0j8GKftCk1M16PovGmbCQb/i6JKm+YKWIhoYoMJBFl3TzhN0D0KlT8VeClZ0WV4MOom6elAkxlYTGR1kcoJ5ESt/AS0B1ULxq2exbmqzqJgJJBb65JVo4nglLHZPnUHOY5s/QGtg05nPeexcK8b3lFvhMRI+Y5jqX9i4FGsEBk6tG2OLfXB0odU8f6rhEeIGWgJw1LVyiTk3VoQcJtBi7Vsg3p4othMaLDlkVHsepNY+xSO14NbNpUjXSzYWZJEM9HqCOaOlAjZR5Q0Ad365TqN9zj6NOVwxEdN4Zl3/Ux838Or6TobhdhGjqqO2JmWt6C+xV4XJ9wX+8LPb+hYYVBrItp32g3grtW/e4nNsp4j3nm1P87kzKPxC4oAaskyn0dlwC4Vo3LH67beQiceAIuM9ywej4Zwr94+MeKjIVtqI6Qz7Tjlt1pFGI1lmfkKQOXiFlkwPbyCPV3smpJ1WSOC4Npkht6tFPBlLV2DFySYUMRAdH2RwBxWhjzwsSJlx/dEKUUL5yffKtg2tANM6aCCyXMEqEXXVkFe9e9ymPbGmmQuf56xo3rYQj5BcQWA9JHAancqLkxoR0rbRBBmai5qDQP7rBss/HR7Uec5xSnYkS6YYI9zpZ+FTfPa7lnVI3c8hj+ukua1EnsYytB8F8l95jrO8fnTxU="
2018-09-21 15:04:50 +03:00
file: nheko-${TRAVIS_TAG}.dmg
on:
condition: $TRAVIS_OS_NAME == osx && $DEPLOYMENT == 1
repo: redsky17/nheko
2018-09-21 15:04:50 +03:00
tags: true