summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Hundven <bryanhundven@gmail.com>2015-09-22 20:17:23 (GMT)
committerBryan Hundven <bryanhundven@gmail.com>2015-09-22 20:17:23 (GMT)
commit205a8f9190db021f40562b59159ecdebd1167ed1 (patch)
treef1c3c3a7ffa127978cc4c97260c15ccef9ab7e3c
parent946670eae335a8c79c10924b9cfc0021f04d860f (diff)
parent7d41f5d3a00952cb0de8355323230db485fe2dfd (diff)
Merge pull request #180 from jmlemetayer/travis_ci
Add travis continuous integration system
-rw-r--r--.travis.yml49
-rw-r--r--README29
-rw-r--r--README.md38
3 files changed, 87 insertions, 29 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
diff --git a/README b/README
deleted file mode 100644
index 623d5f6..0000000
--- a/README
+++ /dev/null
@@ -1,29 +0,0 @@
-This is the README for crosstool-NG
-
-Crosstool-NG follows the autoconf dance. So, to get you
-kick-started, just run:
- ./configure --help
-
-If you are using a development snapshot, you'll have to
-create the configure script, first. Just run:
- ./bootstrap
-
-You will find the documentation in the directory 'docs'.
-Here is a quick overview of what you'll find there:
- 0 - Table of content
- 1 - Introduction
- 2 - Installing crosstool-NG
- 3 - Configuring a toolchain
- 4 - Building the toolchain
- 5 - Using the toolchain
- 6 - Toolchain types
- 7 - Contributing
- 8 - Internals
- A - Credits
- B - Known issues
- C - Misc. tutorials
-
-You can also point your browser at:
- http://crosstool-ng.org/
-
-Aloha!
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..2858138
--- /dev/null
+++ b/README.md
@@ -0,0 +1,38 @@
+# Crosstool-NG [![Build Status][travis-status]][travis]
+
+Crosstool-NG follows the `autoconf` dance. So, to get you
+kick-started, just run:
+
+ ./configure --help
+
+If you are using a development snapshot, you'll have to
+create the configure script, first. Just run:
+
+ ./bootstrap
+
+You will find the documentation in the directory `docs`.
+Here is a quick overview of what you'll find there:
+
+<ol start="0">
+ <li>Table of content</li>
+ <li>Introduction</li>
+ <li>Installing crosstool-NG</li>
+ <li>Configuring a toolchain</li>
+ <li>Building the toolchain</li>
+ <li>Using the toolchain</li>
+ <li>Toolchain types</li>
+ <li>Contributing</li>
+ <li>Internals</li>
+</ol>
+<ol type="A">
+ <li>Credits</li>
+ <li>Known issues</li>
+ <li>Misc. tutorials</li>
+</ol>
+
+You can also point your browser at: http://crosstool-ng.org
+
+Aloha!
+
+[travis-status]: https://travis-ci.org/crosstool-ng/crosstool-ng.svg
+[travis]: https://travis-ci.org/crosstool-ng/crosstool-ng