Tyro/.travis.yml

29 lines
541 B
YAML
Raw Normal View History

2015-10-23 16:51:55 -04:00
sudo: required
dist: trusty
2015-05-08 21:57:34 -04:00
language: cpp
2015-10-23 16:15:30 -04:00
before_install:
# Define TRAVIS variable for workarounds
- export CXXFLAGS="$CXXFLAGS -DTRAVIS"
2015-05-08 21:57:34 -04:00
2015-10-23 16:51:55 -04:00
install:
- if [ "$CXX" = "g++" ]; then sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 98; fi
2015-05-08 22:00:27 -04:00
# Build with both gcc and clang
2015-05-08 21:57:34 -04:00
compiler:
- gcc
- clang
2015-10-23 16:15:30 -04:00
2015-06-22 09:38:48 -04:00
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
2015-10-29 09:47:56 -04:00
- cmake
2015-06-22 09:38:48 -04:00
- gcc-4.8
- g++-4.8
- clang
2015-10-29 13:55:01 -04:00
- libgtk2.0-dev
script: make clean run-tests