Merge pull request #180 from jmlemetayer/travis_ci

Add travis continuous integration system
This commit is contained in:
Bryan Hundven 2015-09-22 13:17:23 -07:00
commit 205a8f9190
3 changed files with 87 additions and 29 deletions

49
.travis.yml Normal file
View File

@ -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

29
README
View File

@ -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!

38
README.md Normal file
View File

@ -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