From 8808096e2c5df448c54945353170e3a3e99eb520 Mon Sep 17 00:00:00 2001 From: Juan Carrano Date: Thu, 25 Oct 2018 12:48:50 +0200 Subject: [PATCH] travis.yml: use the same image as Murdock. It does not make sense to do the static tests in a diferent image than the compilation tests. This commit updates the travis config to use the riotbuild image (the same as murdock). This should fix the issues with old doxygen versions reporting issues that are not, and also simplify the CI maintainance. --- .travis.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 72cea2d86c84..657387324d16 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,14 @@ -dist: trusty +sudo: required + +language: minimal + +services: + - docker before_install: - - sudo apt-get install coreutils realpath doxygen graphviz python-lesscpy cppcheck coccinelle pcregrep python3-pip - - sudo pip3 install flake8 + - docker pull riot/riotbuild script: - - make static-test + - docker run -a STDIN -a STDOUT -a STDERR --rm -u "$(id -u)" + -v "${PWD}:/data/riotbuild" -v /etc/localtime:/etc/localtime:ro + riot/riotbuild make static-test