mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-26 21:18:48 +03:00
Use the same compiler for c
This commit is contained in:
parent
6415c4125f
commit
65a2743bf1
1 changed files with 8 additions and 4 deletions
12
.travis.yml
12
.travis.yml
|
@ -13,7 +13,9 @@ matrix:
|
||||||
- os: linux
|
- os: linux
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
env:
|
env:
|
||||||
- COMPILER=g++-6
|
- CXX_COMPILER=g++-6
|
||||||
|
- C_COMPILER=gcc-6
|
||||||
|
- DEPLOYMENT=1
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
sources: ['ubuntu-toolchain-r-test']
|
sources: ['ubuntu-toolchain-r-test']
|
||||||
|
@ -21,14 +23,16 @@ matrix:
|
||||||
- os: linux
|
- os: linux
|
||||||
compiler: clang
|
compiler: clang
|
||||||
env:
|
env:
|
||||||
- COMPILER=clang++-5.0
|
- CXX_COMPILER=clang++-5.0
|
||||||
|
- C_COMPILER=clang-5.0
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-trusty-5.0']
|
sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-trusty-5.0']
|
||||||
packages: ['clang-5.0']
|
packages: ['clang-5.0']
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- export CXX=${COMPILER}
|
- export CXX=${CXX_COMPILER}
|
||||||
|
- export CC=${C_COMPILER}
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- if [ $TRAVIS_OS_NAME == osx ]; then brew update && brew install qt5 lmdb clang-format; fi
|
- if [ $TRAVIS_OS_NAME == osx ]; then brew update && brew install qt5 lmdb clang-format; fi
|
||||||
|
@ -53,7 +57,7 @@ deploy:
|
||||||
secure: oprXzESukFiXBeF2BXkXUlegsAQc95Ub4kc/OkoNFaYBvqpA+IGpWHmHCx5JPny/OT3Kc2Urpe2JUeGSWDHZ7UCKDjH+NzGP3uN82fHh/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XYSALAwZlK3IgoXU8Gok/3B4iHofzQsFf6Yq3BI/88x7tVASUqiYhoKrO50+gb6pNIRCyWgGUiBEVXBp6Ziq3ORQPyQJg7i9HHUGTUu74yvGLHWLwjNQzZP/hxJZK3VlJxzyXntdOxiJc8iOzNrU+rPKBAlAaE6bQDOoniIysEgdD5BXHTLFzPvts4P1n2Ckor5/rNJ+qXR8GU+/y7e1GKU=
|
||||||
file: nheko-x86_64.AppImage
|
file: nheko-x86_64.AppImage
|
||||||
on:
|
on:
|
||||||
condition: $TRAVIS_OS_NAME == linux
|
condition: $TRAVIS_OS_NAME == linux && $DEPLOYMENT == 1
|
||||||
repo: mujx/nheko
|
repo: mujx/nheko
|
||||||
tags: true
|
tags: true
|
||||||
- skip_cleanup: true
|
- skip_cleanup: true
|
||||||
|
|
Loading…
Reference in a new issue