mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-22 22:22:23 +00:00
5b95b81ea9
Generate paths.sh by configure, do away with paths.mk. Signed-off-by: Alexey Neyman <stilor@att.net>
57 lines
1.4 KiB
YAML
57 lines
1.4 KiB
YAML
# Using container-based infrastructure
|
|
dist: trusty
|
|
sudo: false
|
|
|
|
# 'bash' will define a generic environment without interfering environment
|
|
# settings like "CC=gcc"
|
|
language: bash
|
|
|
|
# Only build the master branch
|
|
branches:
|
|
only:
|
|
- master
|
|
|
|
# Caching the downloaded src packages between several builds to save travis-ci
|
|
# download time and bandwidth
|
|
cache:
|
|
directories:
|
|
- $HOME/src
|
|
|
|
# Installing needed dependencies
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- bison
|
|
- flex
|
|
- libncurses5-dev
|
|
- texinfo
|
|
- help2man
|
|
- g++
|
|
|
|
# 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=arm-unknown-linux-musleabi
|
|
- CT_SAMPLE=aarch64-unknown-linux-gnu
|
|
- CT_SAMPLE=mips64el-multilib-linux-uclibc
|
|
- CT_SAMPLE=powerpc-e500v2-linux-gnuspe
|
|
- CT_SAMPLE=x86_64-unknown-linux-uclibc
|
|
- CT_SAMPLE=xtensa-fsf-linux-uclibc
|
|
|
|
# Building the standard samples
|
|
script:
|
|
- . ./.travis.sh # Load the travis environment
|
|
- ct-ng $CT_SAMPLE # Configure the build
|
|
- ct-ng_travis_build # Build the sample
|
|
|
|
# On failure displaying the last lines of the log file
|
|
after_failure:
|
|
- tail -n 1000 build.log
|