/
.travis.yml
32 lines (26 loc) · 910 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#Telepresence Travis CI Build Script
#Disable email notifications
notifications:
email: false
#Use Ubuntu 14.04 LTS build environment
os: linux
sudo: required
dist: trusty
#Language and compiler settings
language: cpp
compiler: g++
#Environment matrix
env:
- OS=""
- OS="Windows_NT"
#Install dependencies
#NB: Ubuntu Trusty's version of mingw-w64 is missing some header information for Winsock2, so use Wily's version instead;
# see https://sourceforge.net/p/mingw-w64/mingw-w64/ci/93d153611f2c9ac471b5879f430b7b4a7c401ddb/
install:
- if [[ "$OS" == "Windows_NT" ]]; then echo "deb http://us.archive.ubuntu.com/ubuntu/ wily main universe" | sudo tee -a /etc/apt/sources.list; fi
- sudo apt-get update -qq
- sudo apt-get install -qq libjsoncpp-dev
- if [[ "$OS" == "Windows_NT" ]]; then sudo apt-get install -qq g++-mingw-w64-i686; fi
#Build Telepresence
script:
- make