eb975fcec3
Catch all the compilation warnings!
30 lines
869 B
YAML
30 lines
869 B
YAML
matrix:
|
|
include:
|
|
- os: linux
|
|
dist: trusty
|
|
sudo: required
|
|
compiler:
|
|
- gcc
|
|
- clang
|
|
- os: osx
|
|
osx_image: xcode7.3
|
|
compiler: clang
|
|
|
|
language: c
|
|
|
|
|
|
notifications:
|
|
slack: rdesktop:RZWCtYeVc9qVzsBvTzQtmyLt
|
|
|
|
before_install:
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install openssl ; fi
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -qq update ; fi
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -y libpcsclite-dev libxcursor-dev libao-dev libasound2-dev ; fi
|
|
|
|
script:
|
|
- ./bootstrap
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then PKG_CONFIG_PATH=/opt/X11/lib/pkgconfig ./configure --with-openssl=/usr/local/opt/openssl ; fi
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./configure ; fi
|
|
- make
|