forked from NetSys/NetBricks
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path.travis.yml
More file actions
27 lines (27 loc) · 731 Bytes
/
.travis.yml
File metadata and controls
27 lines (27 loc) · 731 Bytes
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
sudo: required
language: rust
rust:
- nightly
dist: trusty
matrix:
include:
- rust: nightly
env:
- SYSTEM_CARGO=1
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq apt-utils build-essential pciutils linux-headers-`uname -r` python python3 libssl-dev
- sudo apt-get install -qq libgnutls28 libgnutls-dev libcurl4-gnutls-dev cmake bash libpcap-dev libnuma-dev
- ./build.sh deps
services:
- docker
before_script:
- sudo sysctl -w vm.nr_hugepages=256
- sudo mkdir -p /mnt/huge
- sudo mount -t hugetlbfs nodev /mnt/huge
script:
- ./build.sh check_examples
- ./build.sh fmt_travis
- ./build.sh build_container
- ./build.sh ctr_test
install: true