mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
20 lines
450 B
YAML
20 lines
450 B
YAML
sudo: required
|
|
|
|
language: minimal
|
|
|
|
services:
|
|
- docker
|
|
|
|
before_install:
|
|
- docker pull riot/riotbuild
|
|
|
|
before_script:
|
|
# Fetch the base branch when it is not `master`
|
|
- git fetch origin "${TRAVIS_BRANCH}:${TRAVIS_BRANCH}"
|
|
|
|
script:
|
|
- docker run -a STDIN -a STDOUT -a STDERR --rm -u "$(id -u)"
|
|
-e CI_BASE_BRANCH="${TRAVIS_BRANCH}"
|
|
-v "${PWD}:/data/riotbuild" -v /etc/localtime:/etc/localtime:ro
|
|
riot/riotbuild make static-test
|