-
Notifications
You must be signed in to change notification settings - Fork 31
/
.travis.yml
36 lines (31 loc) · 718 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
33
34
35
36
dist: trusty
sudo: required
language: rust
rust:
- stable
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-6
- g++-6
- ragel
- python3
- libpcap0.8-dev
- autoconf
- automake
- autopoint
- gettext
- libtool
install:
- sudo add-apt-repository ppa:kzemek/boost -y
- sudo add-apt-repository ppa:george-edison55/cmake-3.x -y
- sudo apt-get update -q
- sudo apt-get install libboost1.58-dev cmake -y
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 1 --slave /usr/bin/g++ g++ /usr/bin/g++-6
- sudo update-alternatives --set gcc /usr/bin/gcc-6
before_script:
- mkdir build && cd build && cmake ..
script:
- make