diff options
author | Bryan Hundven <bryanhundven@gmail.com> | 2015-09-22 20:17:23 (GMT) |
---|---|---|
committer | Bryan Hundven <bryanhundven@gmail.com> | 2015-09-22 20:17:23 (GMT) |
commit | 205a8f9190db021f40562b59159ecdebd1167ed1 (patch) | |
tree | f1c3c3a7ffa127978cc4c97260c15ccef9ab7e3c /.travis.yml | |
parent | 946670eae335a8c79c10924b9cfc0021f04d860f (diff) | |
parent | 7d41f5d3a00952cb0de8355323230db485fe2dfd (diff) |
Merge pull request #180 from jmlemetayer/travis_ci
Add travis continuous integration system
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..e14d9bc --- /dev/null +++ b/.travis.yml @@ -0,0 +1,49 @@ +# Using container-based infrastructure +sudo: false + +# Using C GCC compiler only +language: c +compiler: gcc + +# Only build the master branch +branches: + only: + - master + +# Caching the downloaded src packages between several builds +cache: + directories: + - $HOME/src + +# Installing needed dependencies +addons: + apt: + packages: + - bison + - flex + - gperf + - libncurses5-dev + - texinfo + +# Building crosstool-NG core +install: + - ./bootstrap + - ./configure --enable-local + - make + +# Here is the list of all the standard samples tracked +# by the continuous integration system +env: + - CT_SAMPLE=arm-unknown-eabi + - CT_SAMPLE=armeb-unknown-eabi + - CT_SAMPLE=arm-unknown-linux-gnueabi + - CT_SAMPLE=armeb-unknown-linux-gnueabi + +# Building the standard samples +script: + - ./ct-ng $CT_SAMPLE + - CT_LOG_DEBUG=y CT_LOG_LEVEL_MAX="DEBUG" ./ct-ng build.2 + +# On failure displaying the last lines of the log file +after_failure: + - tail -n 200 build.log |