2016-01-07 23:19:24 +01:00
|
|
|
sudo: required
|
|
|
|
dist: trusty
|
|
|
|
|
|
|
|
language: generic
|
2014-04-11 17:06:25 +02:00
|
|
|
|
2014-09-20 13:20:30 +02:00
|
|
|
cache: apt
|
|
|
|
|
2014-08-21 19:37:06 +02:00
|
|
|
env:
|
2016-01-07 23:19:24 +01:00
|
|
|
global:
|
|
|
|
- NPROC_MAX=8
|
|
|
|
matrix:
|
|
|
|
- BUILDTEST_MCU_GROUP=static-tests
|
2016-03-08 20:37:25 +01:00
|
|
|
- BUILDTEST_MCU_GROUP=cortex_m4_3
|
2016-01-07 23:19:24 +01:00
|
|
|
- BUILDTEST_MCU_GROUP=cortex_m4_2
|
|
|
|
- BUILDTEST_MCU_GROUP=cortex_m4_1
|
|
|
|
- BUILDTEST_MCU_GROUP=cortex_m0_2
|
|
|
|
- BUILDTEST_MCU_GROUP=cortex_m0_1
|
|
|
|
- BUILDTEST_MCU_GROUP=x86
|
|
|
|
- BUILDTEST_MCU_GROUP=cortex_m3_2
|
|
|
|
- BUILDTEST_MCU_GROUP=cortex_m3_1
|
|
|
|
- BUILDTEST_MCU_GROUP=avr8
|
|
|
|
- BUILDTEST_MCU_GROUP=msp430
|
|
|
|
- BUILDTEST_MCU_GROUP=arm7
|
2016-09-11 14:39:34 +02:00
|
|
|
- BUILDTEST_MCU_GROUP=host
|
2014-08-21 19:37:06 +02:00
|
|
|
|
2014-04-11 17:06:25 +02:00
|
|
|
before_install:
|
2015-05-26 19:28:44 +02:00
|
|
|
- source ./dist/tools/pr_check/check_labels.sh
|
|
|
|
- test -z "$TRAVIS_PULL_REQUEST" || test "$BUILDTEST_MCU_GROUP" = "static-tests" || check_gh_label "Ready for CI build" || exit 1
|
2014-04-11 17:06:25 +02:00
|
|
|
- sudo add-apt-repository -y ppa:terry.guo/gcc-arm-embedded
|
2016-01-07 23:19:24 +01:00
|
|
|
- sudo apt-get update -qq
|
2014-04-11 17:06:25 +02:00
|
|
|
|
|
|
|
install:
|
2016-01-07 23:19:24 +01:00
|
|
|
- sudo apt-get -y install $(./dist/tools/travis-scripts/get-pkg-list.py)
|
2016-01-23 16:17:23 +01:00
|
|
|
- sudo pip install pexpect # current version in Ubuntu repos is errorneous
|
2014-07-07 23:48:02 +02:00
|
|
|
- git config --global user.email "travis@example.com"
|
|
|
|
- git config --global user.name "Travis CI"
|
2016-01-07 16:03:46 +01:00
|
|
|
- test "$TRAVIS_BRANCH" = "master" || git fetch origin $TRAVIS_BRANCH:$TRAVIS_BRANCH
|
2014-04-11 17:06:25 +02:00
|
|
|
|
|
|
|
script:
|
2015-02-06 03:36:16 +01:00
|
|
|
- ./dist/tools/travis-scripts/build_and_test.sh
|
2014-04-11 17:06:25 +02:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email: false
|