2014-04-15 10:18:58 +04:00
|
|
|
language: cpp
|
2017-07-12 20:13:36 +03:00
|
|
|
dist: trusty
|
2016-02-05 16:33:56 +03:00
|
|
|
sudo: required # the doc target uses sudo to install dependencies
|
2014-04-15 10:18:58 +04:00
|
|
|
|
2015-10-20 18:48:25 +03:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
|
|
|
|
2014-05-19 18:53:02 +04:00
|
|
|
env:
|
2015-05-21 19:05:34 +03:00
|
|
|
global:
|
2015-07-29 17:18:43 +03:00
|
|
|
- secure: |-
|
2018-04-17 04:22:03 +03:00
|
|
|
a1eovNn4uol9won7ghr67eD3/59oeESN+G9bWE+ecI1V6yRseG9whniGhIpC/YfMW/Qz5I
|
|
|
|
5sxSmFjaw9bxCISNwUIrL1O5x2AmRYTnFcXk4dFsUvlZg+WeF/aKyBYCNRM8C2ndbBmtAO
|
|
|
|
o1F2EwFbiso0EmtzhAPs19ujiVxkLn4=
|
2015-10-20 18:48:25 +03:00
|
|
|
matrix:
|
|
|
|
- BUILD=Doc
|
2017-10-16 03:15:01 +03:00
|
|
|
- BUILD=Debug STANDARD=14
|
|
|
|
- BUILD=Release STANDARD=14
|
2015-07-29 17:18:43 +03:00
|
|
|
|
2015-10-20 18:48:25 +03:00
|
|
|
matrix:
|
|
|
|
exclude:
|
|
|
|
- os: osx
|
|
|
|
env: BUILD=Doc
|
2018-03-12 22:40:25 +03:00
|
|
|
include:
|
|
|
|
- language: android
|
|
|
|
android:
|
|
|
|
components:
|
|
|
|
- tools
|
|
|
|
- platform-tools
|
|
|
|
- android-21
|
|
|
|
- sys-img-armeabi-v7a-android-21
|
|
|
|
env:
|
|
|
|
- ANDROID=true
|
|
|
|
before_install:
|
|
|
|
- git submodule update --init --recursive
|
|
|
|
- sudo apt-get install wget unzip tree
|
|
|
|
install:
|
|
|
|
# Accept SDK Licenses + Install NDK
|
|
|
|
- yes | sdkmanager --update > /dev/null 2>&1
|
|
|
|
- sdkmanager ndk-bundle > /dev/null 2>&1
|
|
|
|
# Download Gradle 4.3.1
|
|
|
|
- wget https://services.gradle.org/distributions/gradle-4.3.1-bin.zip
|
|
|
|
- mkdir -p gradle
|
|
|
|
- unzip -q -d ./gradle gradle-4.3.1-bin.zip
|
|
|
|
- export GRADLE=${TRAVIS_BUILD_DIR}/gradle/gradle-4.3.1/bin/gradle
|
|
|
|
before_script:
|
|
|
|
- bash $GRADLE --version
|
|
|
|
- cd ./support
|
|
|
|
script:
|
|
|
|
- bash $GRADLE clean assemble
|
|
|
|
after_success:
|
|
|
|
- cd ${TRAVIS_BUILD_DIR}
|
|
|
|
- tree ./libs
|
2015-07-29 23:42:06 +03:00
|
|
|
|
2017-10-16 03:15:01 +03:00
|
|
|
# Install gcc-6 for extended constexpr support.
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- g++-6
|
|
|
|
|
|
|
|
before_install:
|
2017-10-20 16:47:17 +03:00
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export CXX=g++-6; fi
|
2017-10-16 03:15:01 +03:00
|
|
|
|
2015-10-20 18:48:25 +03:00
|
|
|
script:
|
|
|
|
- support/travis-build.py
|