2014-04-11 17:06:25 +02:00
|
|
|
language: c
|
|
|
|
|
2014-09-20 13:20:30 +02:00
|
|
|
cache: apt
|
|
|
|
|
2014-08-21 19:37:06 +02:00
|
|
|
env:
|
2015-02-24 00:17:28 +01:00
|
|
|
- NPROC_MAX=8 BUILDTEST_MCU_GROUP=static-tests
|
2015-12-03 17:38:24 +01:00
|
|
|
- NPROC_MAX=8 BUILDTEST_MCU_GROUP=cortex_m4_2
|
|
|
|
- NPROC_MAX=8 BUILDTEST_MCU_GROUP=cortex_m4_1
|
2015-12-07 10:28:34 +01:00
|
|
|
- NPROC_MAX=8 BUILDTEST_MCU_GROUP=cortex_m0_2
|
|
|
|
- NPROC_MAX=8 BUILDTEST_MCU_GROUP=cortex_m0_1
|
2015-09-04 12:58:52 +02:00
|
|
|
- NPROC_MAX=8 BUILDTEST_MCU_GROUP=x86
|
|
|
|
- NPROC_MAX=8 BUILDTEST_MCU_GROUP=cortex_m3_2
|
|
|
|
- NPROC_MAX=8 BUILDTEST_MCU_GROUP=cortex_m3_1
|
2015-02-06 03:36:16 +01:00
|
|
|
- NPROC_MAX=8 BUILDTEST_MCU_GROUP=avr8
|
|
|
|
- NPROC_MAX=8 BUILDTEST_MCU_GROUP=msp430
|
|
|
|
- NPROC_MAX=8 BUILDTEST_MCU_GROUP=arm7
|
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
|
|
|
- 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:
|
2014-09-22 10:54:26 +02:00
|
|
|
- >
|
2015-02-06 03:36:16 +01:00
|
|
|
sudo apt-get install $(./dist/tools/travis-scripts/get-pkg-list.py)
|
2014-07-07 23:48:02 +02:00
|
|
|
- git config --global user.email "travis@example.com"
|
|
|
|
- git config --global user.name "Travis CI"
|
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
|