Update .travis.yml

This commit is contained in:
thelsing 2019-06-02 00:29:12 +02:00 committed by GitHub
parent 979bc2ca0b
commit 59154a603d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,40 +2,6 @@ language: cpp
matrix: matrix:
include: include:
# works on Precise and Trusty
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.9
env:
- MATRIX_EVAL="CC=gcc-4.9 && CXX=g++-4.9"
# works on Precise and Trusty
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
env:
- MATRIX_EVAL="CC=gcc-5 && CXX=g++-5"
# works on Precise and Trusty
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6
env:
- MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"
# works on Precise and Trusty
- os: linux - os: linux
addons: addons:
apt: apt:
@ -45,15 +11,16 @@ matrix:
- g++-7 - g++-7
env: env:
- MATRIX_EVAL="CC=gcc-7 && CXX=g++-7" - MATRIX_EVAL="CC=gcc-7 && CXX=g++-7"
- MODE=LINUX
- os: linux
env:
- MODE=ARDUINO
before_install: before_install:
- eval "${MATRIX_EVAL}" - eval "${MATRIX_EVAL}"
script: script:
- cd knx-linux - if [ "$MODE" = "LINUX" ]; then cd knx-linux; fi
- mkdir -p build - if [ "$MODE" = "LINUX" ]; mkdir -p build; fi
- cd build - if [ "$MODE" = "LINUX" ]; cd build; fi
- cmake .. - if [ "$MODE" = "LINUX" ]; cmake ..; fi
- make - if [ "$MODE" = "LINUX" ]; make; fi