Skip to content

Commit

Permalink
travis: add .travis.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: Andrei Vagin <avagin@gmail.com>
  • Loading branch information
avagin committed Jul 29, 2019
1 parent 04ea1c0 commit b15cfc7
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
language: c
sudo: required
dist: trusty
cache: ccache
env:
global:
- secure: "gwF/Dyxg1ClifQZGSa7Ar9dm7YE9C37/s2YHQ5gFYNAa28ekR6sVFJ2WuMSWzyQ2V0/68DEtiZICIn2WbBVh9GbbsklNbb6JBGV8kMwLOaF9vZommfdUOzzkbVBa8tL+HY2XB5RUZQ4Cl7bbehLS4a09+lkZpvwGtRfi34Nc1Fo="
install:
- sudo apt-get update
- sudo apt-get install -qq --no-install-recommends protobuf-c-compiler libprotobuf-c0-dev libaio-dev libprotobuf-dev protobuf-compiler python-ipaddr libcap-dev libnl-3-dev gcc-multilib libc6-dev-i386 gdb bash python-protobuf libnet-dev util-linux asciidoc xmlto libnl-route-3-dev kexec-tools libssl-dev libelf-dev strace ccache
jobs:
include:
- stage: kernel
script: sudo ./scripts/travis-ci kernel
env:
- KASAN=0
- stage: kernel
script: sudo ./scripts/travis-ci kernel
env:
- KASAN=1
- stage: zdtm
script: sudo ./scripts/travis-ci local
env:
- KASAN=0
- stage: zdtm
script: sudo ./scripts/travis-ci local
env:
- KASAN=1
stages:
- kernel
- zdtm
after_failure:
- sudo dmesg
group: deprecated-2017Q2
9 changes: 9 additions & 0 deletions scripts/travis-ci
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

set -x -e

export KPATH=`pwd`
cd ..
git clone https://github.com/avagin/criu -b linux-next
cd criu
make -C scripts/travis $1

0 comments on commit b15cfc7

Please sign in to comment.