forked from FreeOpcUa/freeopcua
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
21 lines (17 loc) · 811 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
language: cpp
compiler: gcc
before_install:
# We need this line to have g++4.8 available in apt
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo add-apt-repository -y ppa:boost-latest/ppa
- sudo apt-get update -qq
install:
- sudo apt-get install libboost1.54-all-dev -qq
- sudo apt-get install libboost-python1.54-dev -qq
- sudo apt-get install -qq gcc-4.8 g++-4.8
- sudo apt-get install libcppunit-dev
# We want to compile with g++ 4.8 when rather than the default g++
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 90
#script: autoreconf -f -i && ./configure --disable-python-bindings && make && make check
script: autoreconf -f -i && ./configure && make && make check