From e4ebd7eace5837d0917b8c7d21d7ff845b859407 Mon Sep 17 00:00:00 2001 From: Giacomo Tesio Date: Tue, 22 Dec 2015 11:49:55 +0000 Subject: [PATCH] travis-ci: add first .travis.yml --- .travis.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..c905938 --- /dev/null +++ b/.travis.yml @@ -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 +