Skip to content
Snippets Groups Projects
.travis.yml 3.57 KiB
Newer Older
  • Learn to ignore specific revisions
  • Konstantinos Sideris's avatar
    Konstantinos Sideris committed
    language: cpp
    sudo: required
    dist: trusty
    
    
    notifications:
        email: false
    
    
    Konstantinos Sideris's avatar
    Konstantinos Sideris committed
    matrix:
        include:
    
            - os: osx
              osx_image: xcode9
              compiler: clang
              env:
    
                  - DEPLOYMENT=1
    
                  - USE_BUNDLED_BOOST=0
                  - USE_BUNDLED_SPDLOG=0
    
            - os: linux
              compiler: gcc
              env:
    
                  - CXX_COMPILER=g++-7
                  - C_COMPILER=gcc-7
    
                  - QT_VERSION="-5.10.1"
                  - QT_PKG=510
    
                  - DEPLOYMENT=1
    
                  - USE_BUNDLED_BOOST=1
                  - USE_BUNDLED_SPDLOG=1
    
              addons:
                  apt:
                      sources: ["ubuntu-toolchain-r-test"]
    
                      packages: ["g++-7", "ninja-build"]
    
    Konstantinos Sideris's avatar
    Konstantinos Sideris committed
            - os: linux
              compiler: gcc
    
                  - CXX_COMPILER=g++-7
                  - C_COMPILER=gcc-7
    
                  - QT_VERSION=571
    
                  - QT_PKG=57
    
                  - USE_BUNDLED_BOOST=1
                  - USE_BUNDLED_SPDLOG=1
    
                  apt:
                      sources: ["ubuntu-toolchain-r-test"]
    
                      packages: ["g++-7", "ninja-build"]
    
    Konstantinos Sideris's avatar
    Konstantinos Sideris committed
            - os: linux
              compiler: clang
    
                  - CXX_COMPILER=clang++-5.0
                  - C_COMPILER=clang-5.0
    
                  - QT_VERSION=592
    
                  - QT_PKG=59
    
                  - USE_BUNDLED_BOOST=1
                  - USE_BUNDLED_SPDLOG=1
    
                  apt:
                      sources: ["ubuntu-toolchain-r-test", "llvm-toolchain-trusty-5.0"]
    
    Konstantinos Sideris's avatar
    Konstantinos Sideris committed
                      packages: ["clang-5.0", "g++-7", "ninja-build"]
    
    before_install:
    
        - export CXX=${CXX_COMPILER}
        - export CC=${C_COMPILER}
    
    Konstantinos Sideris's avatar
    Konstantinos Sideris committed
    install:
    
        - ./.ci/install.sh
    
    Konstantinos Sideris's avatar
    Konstantinos Sideris committed
    script:
    
        - ./.ci/script.sh
    
        - skip_cleanup: true
          overwrite: true
          provider: releases
          api_key:
              secure: oprXzESukFiXBeF2BXkXUlegsAQc95Ub4kc/OkoNFaYBvqpA+IGpWHmHCx5JPny/OT3Kc2Urpe2JUeGSWDHZ7UCKDjH+NzGP3uN82fHh/HiszG/Srw7+hWEHm1ve+gMK9GS8pr+yUsUrPP0UfVXlPoI4pBWa4zGi2Ndb/SqvjCgIHFLtGyoBo6CydKQ/AyWiXSMKDfJL+Dx4JLIPP4RTCBJy8ZrZ8m/a5Tgy4Ij6+djjrgYCZCEhGxSYw7xDIT/9SV8g9NkrbisqBDrILzAH8Yhe4XMRMXo88OAxV5+Vb9Rw1hrqczez6lpFDbJetv8MjofND+pSoAFwtjaL1wTFK9Ud6w4O9AuHlEQH9cGVdvsxFcosRwJVh58x51JM9ptoktqhx/HHJBTuCHCYYlHwtRwbwqnMYdLzKZG5FnujT8DG+9mcva1fL6tzW/XD505VPMWwXFC/2/pvolgAkTFFXYSALAwZlK3IgoXU8Gok/3B4iHofzQsFf6Yq3BI/88x7tVASUqiYhoKrO50+gb6pNIRCyWgGUiBEVXBp6Ziq3ORQPyQJg7i9HHUGTUu74yvGLHWLwjNQzZP/hxJZK3VlJxzyXntdOxiJc8iOzNrU+rPKBAlAaE6bQDOoniIysEgdD5BXHTLFzPvts4P1n2Ckor5/rNJ+qXR8GU+/y7e1GKU=
    
          file_glob: true
          file:
    
              - nheko-x86_64.AppImage
    
              condition: $TRAVIS_OS_NAME == linux && $DEPLOYMENT == 1
    
              repo: mujx/nheko
              tags: true
    
        - skip_cleanup: true
          overwrite: true
          provider: releases
          api_key:
              secure: oprXzESukFiXBeF2BXkXUlegsAQc95Ub4kc/OkoNFaYBvqpA+IGpWHmHCx5JPny/OT3Kc2Urpe2JUeGSWDHZ7UCKDjH+NzGP3uN82fHh/HiszG/Srw7+hWEHm1ve+gMK9GS8pr+yUsUrPP0UfVXlPoI4pBWa4zGi2Ndb/SqvjCgIHFLtGyoBo6CydKQ/AyWiXSMKDfJL+Dx4JLIPP4RTCBJy8ZrZ8m/a5Tgy4Ij6+djjrgYCZCEhGxSYw7xDIT/9SV8g9NkrbisqBDrILzAH8Yhe4XMRMXo88OAxV5+Vb9Rw1hrqczez6lpFDbJetv8MjofND+pSoAFwtjaL1wTFK9Ud6w4O9AuHlEQH9cGVdvsxFcosRwJVh58x51JM9ptoktqhx/HHJBTuCHCYYlHwtRwbwqnMYdLzKZG5FnujT8DG+9mcva1fL6tzW/XD505VPMWwXFC/2/pvolgAkTFFXYSALAwZlK3IgoXU8Gok/3B4iHofzQsFf6Yq3BI/88x7tVASUqiYhoKrO50+gb6pNIRCyWgGUiBEVXBp6Ziq3ORQPyQJg7i9HHUGTUu74yvGLHWLwjNQzZP/hxJZK3VlJxzyXntdOxiJc8iOzNrU+rPKBAlAaE6bQDOoniIysEgdD5BXHTLFzPvts4P1n2Ckor5/rNJ+qXR8GU+/y7e1GKU=
    
    Konstantinos Sideris's avatar
    Konstantinos Sideris committed
          file: nheko.dmg
    
              condition: $TRAVIS_OS_NAME == osx && $DEPLOYMENT == 1
    
              repo: mujx/nheko
              tags: true