| 1 | |
| 2 | sudo: false |
| 3 | |
| 4 | jobs: |
| 5 | include: |
| 6 | - stage: build |
| 7 | name: Android NDK |
| 8 | language: android |
| 9 | compiler: clang |
| 10 | os: |
| 11 | - linux |
| 12 | env: |
| 13 | - NDK_VERSION=r14b TEST=arm |
| 14 | - TEST=x86 |
| 15 | android: |
| 16 | components: |
| 17 | - build-tools-22.0.1 |
| 18 | - android-22 |
| 19 | - ndk-bundle |
| 20 | - sys-img-armeabi-v7a-android-22 |
| 21 | before_script: |
| 22 | - ./scripts/ci-before.sh |
| 23 | script: |
| 24 | - ./scripts/ci-test.sh |
| 25 | |
| 26 | - name: Linux CMake(clang) |
| 27 | os: linux |
| 28 | dist: bionic |
| 29 | language: cpp |
| 30 | compiler: clang |
| 31 | script: |
| 32 | - cmake -S contrib -B cmake_build -DCMAKE_INSTALL_PREFIX=cmake_install |
| 33 | - cmake --build cmake_build |
| 34 | - cmake --build cmake_build --target install |
| 35 | - ctest --test-dir cmake_build --output-on-failure --output-junit TEST-${TRAVIS_COMMIT}.xml |