2018-10-25 12:48:50 +02:00
|
|
|
sudo: required
|
|
|
|
|
|
|
|
language: minimal
|
|
|
|
|
|
|
|
services:
|
|
|
|
- docker
|
2017-11-13 09:33:42 +01:00
|
|
|
|
|
|
|
before_install:
|
2018-10-25 12:48:50 +02:00
|
|
|
- docker pull riot/riotbuild
|
2017-11-13 09:33:42 +01:00
|
|
|
|
2019-01-14 23:00:09 +01:00
|
|
|
before_script:
|
|
|
|
# Fetch the base branch when it is not `master`
|
|
|
|
- git fetch origin "${TRAVIS_BRANCH}:${TRAVIS_BRANCH}"
|
|
|
|
|
2017-11-13 09:33:42 +01:00
|
|
|
script:
|
2018-10-25 12:48:50 +02:00
|
|
|
- docker run -a STDIN -a STDOUT -a STDERR --rm -u "$(id -u)"
|
2019-01-14 11:36:54 +01:00
|
|
|
-e CI_BASE_BRANCH="${TRAVIS_BRANCH}"
|
2018-10-25 12:48:50 +02:00
|
|
|
-v "${PWD}:/data/riotbuild" -v /etc/localtime:/etc/localtime:ro
|
|
|
|
riot/riotbuild make static-test
|