travis-ci: add first .travis.yml

This commit is contained in:
Giacomo Tesio 2015-12-22 11:49:55 +00:00
parent bbf498c38e
commit e4ebd7eace

31
.travis.yml Normal file
View File

@ -0,0 +1,31 @@
language: c
install:
- git submodule init
- git submodule update --init --recursive --remote
script:
- if [ "${COVERITY_SCAN_BRANCH}" != 1 ]; then ./hacking/continuous-build.sh; fi
compiler:
- gcc-4.8
env:
global:
- ARCH=amd64
- JEHANNE=$TRAVIS_BUILD_DIR
- PATH=$PATH:$JEHANNE/hacking/bin
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- rc
- gcc-4.8
coverity_scan:
project:
name: "JehanneOS/jehanne"
description: "Build submitted via Travis CI"
notification_email: jehanneos@googlegroups.com
build_command_prepend: "git submodule init && git submodule update --init --recursive"
build_command: "./hacking/coverity-scan.sh"
branch_pattern: coverity_scan