You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
511 B
28 lines
511 B
language: c++
|
|
os:
|
|
- linux
|
|
- osx
|
|
compiler:
|
|
- clang
|
|
- gcc
|
|
before_install:
|
|
- |
|
|
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
|
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y \
|
|
&& sudo apt-get update -qq \
|
|
&& if [ "$CXX" == "g++" ]; then
|
|
sudo apt-get install -qq g++-4.7 && export CXX="g++-4.7" CC="gcc-4.7"
|
|
fi
|
|
fi
|
|
before_script:
|
|
- mkdir build
|
|
- cd build
|
|
- cmake ..
|
|
script:
|
|
- make
|
|
- test/run-tests
|
|
|
|
matrix:
|
|
exclude:
|
|
- os: linux
|
|
compiler: clang
|
|
|