2014-04-15 06:18:58 +00:00
|
|
|
language: cpp
|
2017-07-12 17:13:36 +00:00
|
|
|
dist: trusty
|
2018-06-06 13:57:59 +00:00
|
|
|
sudo: false
|
|
|
|
|
|
|
|
os: linux
|
|
|
|
|
|
|
|
git:
|
|
|
|
depth: 1
|
2014-04-15 06:18:58 +00:00
|
|
|
|
2015-10-20 15:48:25 +00:00
|
|
|
|
2014-05-19 14:53:02 +00:00
|
|
|
env:
|
2015-05-21 16:05:34 +00:00
|
|
|
global:
|
2015-07-29 14:18:43 +00:00
|
|
|
- secure: |-
|
2018-04-17 01:22:03 +00:00
|
|
|
a1eovNn4uol9won7ghr67eD3/59oeESN+G9bWE+ecI1V6yRseG9whniGhIpC/YfMW/Qz5I
|
|
|
|
5sxSmFjaw9bxCISNwUIrL1O5x2AmRYTnFcXk4dFsUvlZg+WeF/aKyBYCNRM8C2ndbBmtAO
|
|
|
|
o1F2EwFbiso0EmtzhAPs19ujiVxkLn4=
|
2015-07-29 14:18:43 +00:00
|
|
|
|
2015-10-20 15:48:25 +00:00
|
|
|
matrix:
|
2018-03-12 19:40:25 +00:00
|
|
|
include:
|
2018-06-06 13:57:59 +00:00
|
|
|
# Documentation
|
|
|
|
- env: BUILD=Doc
|
|
|
|
sudo: required
|
|
|
|
# g++ 6 on Linux with C++14
|
|
|
|
- env: COMPILER=g++-6 BUILD=Debug STANDARD=14
|
|
|
|
compiler: gcc
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
update: true
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- g++-6
|
|
|
|
- env: COMPILER=g++-6 BUILD=Release STANDARD=14
|
|
|
|
compiler: gcc
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
update: true
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- g++-6
|
|
|
|
# Apple clang on OS X with C++14
|
|
|
|
- env: BUILD=Debug STANDARD=14
|
|
|
|
compiler: clang
|
|
|
|
os: osx
|
|
|
|
- env: BUILD=Release STANDARD=14
|
|
|
|
compiler: clang
|
|
|
|
os: osx
|
|
|
|
# clang 6.0 on Linux with C++14
|
|
|
|
- env: COMPILER=clang++-6.0 BUILD=Debug STANDARD=14
|
|
|
|
compiler: clang
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
update: true
|
|
|
|
packages:
|
|
|
|
- clang-6.0
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
- llvm-toolchain-trusty
|
|
|
|
- llvm-toolchain-trusty-6.0
|
|
|
|
# clang 4.0 on Linux with C++14
|
|
|
|
- env: COMPILER=clang++-4.0 BUILD=Debug STANDARD=11
|
|
|
|
compiler: clang
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
update: true
|
|
|
|
packages:
|
|
|
|
- clang-4.0
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
- llvm-toolchain-trusty
|
|
|
|
- llvm-toolchain-trusty-4.0
|
|
|
|
# g++ 4.8 on Linux with C++11
|
|
|
|
- env: COMPILER=g++-4.8 BUILD=Debug STANDARD=11
|
|
|
|
compiler: gcc
|
|
|
|
# g++ 4.4 on Linux with C++11
|
|
|
|
- env: COMPILER=g++-4.4 BUILD=Debug STANDARD=11
|
|
|
|
compiler: gcc
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
update: true
|
|
|
|
packages:
|
|
|
|
- g++-4.4
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
2019-02-10 09:35:05 +00:00
|
|
|
- name: Android NDK (Gradle)
|
|
|
|
language: android
|
2018-11-02 16:04:57 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
update: true
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
2019-01-09 23:38:31 +00:00
|
|
|
- ninja-build
|
2019-02-10 09:35:05 +00:00
|
|
|
- curl
|
2018-11-02 16:04:57 +00:00
|
|
|
- tree
|
|
|
|
android:
|
|
|
|
components:
|
|
|
|
- tools
|
|
|
|
- platform-tools
|
2019-02-10 09:35:05 +00:00
|
|
|
- android-25 # 7.0
|
|
|
|
- android-27 # 8.1
|
|
|
|
- android-28 # 9.0
|
|
|
|
- build-tools-28.0.3
|
2018-11-02 16:04:57 +00:00
|
|
|
before_install:
|
2019-02-10 09:35:05 +00:00
|
|
|
# Install Gradle from https://sdkman.io/
|
|
|
|
- curl -s "https://get.sdkman.io" | bash > /dev/null
|
|
|
|
- source "$HOME/.sdkman/bin/sdkman-init.sh"
|
|
|
|
- sdk version
|
|
|
|
- sdk install gradle
|
|
|
|
- sdk use gradle
|
|
|
|
- gradle --version
|
2018-11-02 16:04:57 +00:00
|
|
|
install:
|
|
|
|
# Accept SDK Licenses + Install NDK
|
|
|
|
- yes | sdkmanager --update > /dev/null 2>&1
|
|
|
|
- sdkmanager ndk-bundle > /dev/null 2>&1
|
|
|
|
before_script:
|
|
|
|
- pushd ./support
|
|
|
|
script:
|
2019-02-10 09:35:05 +00:00
|
|
|
- gradle clean
|
|
|
|
- gradle assemble
|
2018-11-02 16:04:57 +00:00
|
|
|
after_success:
|
|
|
|
- popd;
|
|
|
|
- tree ./libs
|
2015-07-29 20:42:06 +00:00
|
|
|
|
2018-06-06 13:57:59 +00:00
|
|
|
before_script:
|
|
|
|
- if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then export CXX=${COMPILER}; fi
|
|
|
|
- if [[ "${BUILD}" != "Doc" ]]; then ${CXX} --version; fi
|
2017-10-16 00:15:01 +00:00
|
|
|
|
2015-10-20 15:48:25 +00:00
|
|
|
script:
|
|
|
|
- support/travis-build.py
|