qsmaddy/.travis.yml

33 lines
625 B
YAML
Raw Normal View History

2017-12-26 11:42:57 +01:00
sudo: false
language: cpp
matrix:
include:
- os: linux
dist: xenial
sudo: require
addons:
apt:
sources:
- sourceline: 'ppa:ubuntu-toolchain-r/test'
packages:
- g++-7
env:
- MATRIX_EVAL="CC=gcc-7 && CXX=g++-7"
- os: osx
osx_image: xcode10
compiler: clang
env:
- MATRIX_EVAL="CC=clang && CXX=clang++"
before_install:
# This is necessary to solve https://github.com/travis-ci/travis-ci/issues/9649
- eval "${MATRIX_EVAL}"
2017-12-26 11:42:57 +01:00
script:
- mkdir tmp
- cd tmp
- cmake ..
- make
- ../build/MaddyTests