]>
Commit | Line | Data |
---|---|---|
11fdf7f2 TL |
1 | language: cpp |
2 | dist: trusty | |
3 | sudo: false | |
4 | ||
5 | os: linux | |
6 | ||
7 | git: | |
8 | depth: 1 | |
9 | ||
10 | ||
11 | env: | |
12 | global: | |
13 | - secure: |- | |
14 | a1eovNn4uol9won7ghr67eD3/59oeESN+G9bWE+ecI1V6yRseG9whniGhIpC/YfMW/Qz5I | |
15 | 5sxSmFjaw9bxCISNwUIrL1O5x2AmRYTnFcXk4dFsUvlZg+WeF/aKyBYCNRM8C2ndbBmtAO | |
16 | o1F2EwFbiso0EmtzhAPs19ujiVxkLn4= | |
17 | ||
18 | matrix: | |
19 | include: | |
20 | # Documentation | |
21 | - env: BUILD=Doc | |
22 | sudo: required | |
23 | # g++ 6 on Linux with C++14 | |
24 | - env: COMPILER=g++-6 BUILD=Debug STANDARD=14 | |
25 | compiler: gcc | |
26 | addons: | |
27 | apt: | |
28 | update: true | |
29 | sources: | |
30 | - ubuntu-toolchain-r-test | |
31 | packages: | |
32 | - g++-6 | |
33 | - env: COMPILER=g++-6 BUILD=Release STANDARD=14 | |
34 | compiler: gcc | |
35 | addons: | |
36 | apt: | |
37 | update: true | |
38 | sources: | |
39 | - ubuntu-toolchain-r-test | |
40 | packages: | |
41 | - g++-6 | |
42 | # Apple clang on OS X with C++14 | |
43 | - env: BUILD=Debug STANDARD=14 | |
44 | compiler: clang | |
45 | os: osx | |
46 | - env: BUILD=Release STANDARD=14 | |
47 | compiler: clang | |
48 | os: osx | |
49 | # clang 6.0 on Linux with C++14 | |
50 | - env: COMPILER=clang++-6.0 BUILD=Debug STANDARD=14 | |
51 | compiler: clang | |
52 | addons: | |
53 | apt: | |
54 | update: true | |
55 | packages: | |
56 | - clang-6.0 | |
57 | sources: | |
58 | - ubuntu-toolchain-r-test | |
59 | - llvm-toolchain-trusty | |
60 | - llvm-toolchain-trusty-6.0 | |
61 | # clang 4.0 on Linux with C++14 | |
62 | - env: COMPILER=clang++-4.0 BUILD=Debug STANDARD=11 | |
63 | compiler: clang | |
64 | addons: | |
65 | apt: | |
66 | update: true | |
67 | packages: | |
68 | - clang-4.0 | |
69 | sources: | |
70 | - ubuntu-toolchain-r-test | |
71 | - llvm-toolchain-trusty | |
72 | - llvm-toolchain-trusty-4.0 | |
73 | # g++ 4.8 on Linux with C++11 | |
74 | - env: COMPILER=g++-4.8 BUILD=Debug STANDARD=11 | |
75 | compiler: gcc | |
76 | # g++ 4.4 on Linux with C++11 | |
77 | - env: COMPILER=g++-4.4 BUILD=Debug STANDARD=11 | |
78 | compiler: gcc | |
79 | addons: | |
80 | apt: | |
81 | update: true | |
82 | packages: | |
83 | - g++-4.4 | |
84 | sources: | |
85 | - ubuntu-toolchain-r-test | |
86 | # Android | |
eafe8130 TL |
87 | - language: android |
88 | addons: | |
89 | apt: | |
90 | update: true | |
91 | sources: | |
92 | - ubuntu-toolchain-r-test | |
93 | packages: | |
94 | - wget | |
95 | - unzip | |
96 | - tree | |
97 | android: | |
98 | components: | |
99 | - tools | |
100 | - platform-tools | |
101 | - android-21 | |
102 | env: | |
103 | - ANDROID=true | |
104 | before_install: | |
105 | # Download/Install Gradle | |
106 | - wget https://services.gradle.org/distributions/gradle-4.10.2-bin.zip | |
107 | - mkdir -p gradle | |
108 | - unzip -q -d ./gradle gradle-4.10.2-bin.zip | |
109 | - export GRADLE=gradle/gradle-4.10.2/bin/gradle | |
110 | - bash $GRADLE --version | |
111 | install: | |
112 | # Accept SDK Licenses + Install NDK | |
113 | - yes | sdkmanager --update > /dev/null 2>&1 | |
114 | - sdkmanager ndk-bundle > /dev/null 2>&1 | |
115 | before_script: | |
116 | - pushd ./support | |
117 | script: | |
118 | - bash ../$GRADLE clean assemble | |
119 | after_success: | |
120 | - popd; | |
121 | - tree ./libs | |
11fdf7f2 TL |
122 | |
123 | before_script: | |
124 | - if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then export CXX=${COMPILER}; fi | |
125 | - if [[ "${BUILD}" != "Doc" ]]; then ${CXX} --version; fi | |
126 | ||
127 | script: | |
128 | - support/travis-build.py |