1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/.travis.yml
Benjamin Valentin 905be2c26c setup git committer info in Travis
pkg/ Makefiles based on `Makefile.git` fail in Travis when attempting to apply patches with `git am` because no committer info is set.
This patch adds a dummy Travis username and mail in the 'install' step to satisfy git.
2014-07-07 23:48:02 +02:00

33 lines
1.6 KiB
YAML

language: c
before_install:
- sudo apt-get install emdebian-archive-keyring
- echo 'deb http://www.emdebian.org/debian wheezy main' | sudo tee /etc/apt/sources.list.d/emdebian.list > /dev/null
- echo 'deb http://us.archive.ubuntu.com/ubuntu trusty main restricted universe multiverse' | sudo tee /etc/apt/sources.list.d/trusty.list > /dev/null
- echo 'deb http://us.archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse' | sudo tee -a /etc/apt/sources.list.d/trusty.list > /dev/null
- echo 'deb http://us.archive.ubuntu.com/ubuntu trusty-security main restricted universe multiverse' | sudo tee -a /etc/apt/sources.list.d/trusty.list > /dev/null
- echo 'deb http://us.archive.ubuntu.com/ubuntu trusty-updates main restricted universe multiverse' | sudo tee -a /etc/apt/sources.list.d/trusty.list > /dev/null
- sudo add-apt-repository -y ppa:terry.guo/gcc-arm-embedded
- sudo apt-get update
install:
- sudo apt-get install build-essential
- sudo apt-get install gcc-multilib
- sudo apt-get install gcc-arm-none-eabi
- sudo apt-get install gcc-msp430
- sudo apt-get install pcregrep libpcre3
- sudo apt-get install qemu-system-x86 python3
- sudo apt-get install g++-multilib
- git config --global user.email "travis@example.com"
- git config --global user.name "Travis CI"
script:
- ./dist/tools/compile_test/compile_test.py
- make -C ./tests/unittests test BOARD=native
- make -C ./tests/unittests test BOARD=qemu-i386
- ./dist/tools/licenses/check.sh master
notifications:
email: false