1
0
mirror of https://github.com/kakwa/uts-server synced 2024-12-04 23:15:54 +01:00

adding a travis file for continuous integration

This commit is contained in:
kakwa 2016-09-07 21:17:21 +02:00
parent 58691324d1
commit 205309d2a7

33
.travis.yml Normal file
View File

@ -0,0 +1,33 @@
matrix:
include:
- os: linux
dist: trusty
- os: osx
sudo: false
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then xcode-select --install; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install argp-standalone; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install valgrind; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install libxml2; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install coreutils; fi
addons:
apt:
packages:
- cmake
- time
- valgrind
- libxml2-utils
- libc6-dev
- gcc
- g++
- libssl-dev
language: cpp
compiler: clang
script: cmake . -DBUNDLE_CIVETWEB=ON && make